Skip to content
Snippets Groups Projects
Commit b3d69b6a authored by joe's avatar joe
Browse files

sort audit logs depending on the timestamp

parent abce8443
No related branches found
No related tags found
No related merge requests found
...@@ -214,4 +214,4 @@ class EtcdInterface(base.DbInterface): ...@@ -214,4 +214,4 @@ class EtcdInterface(base.DbInterface):
if matches: if matches:
log.append(obj) log.append(obj)
return log return sorted(log, key=lambda k: k['ts'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment