Commit 8bdbb23d authored by Bram Daams's avatar Bram Daams

sort by last_ping

parent f928c5c6
Pipeline #41168 passed with stage
in 44 seconds
......@@ -516,7 +516,7 @@ class Healthchecks:
checks = self.get_checks(query)
for i in checks:
for i in sorted(checks, key=lambda x: x['last_ping'], reverse=True):
if status_filter and i['status'] != status_filter:
continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment