Browse Source

order the servers by their ID in the output to maintain the ordering

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
419159beb9
  1. 2
      munin.py

2
munin.py

@ -54,7 +54,7 @@ def get_running_instances():
if not server.online: if not server.online:
continue continue
runinst = server.ctl.getBootedServers() runinst = server.ctl.getBootedServers()
for inst in server.mumble_set.filter( srvid__in=runinst ):
for inst in server.mumble_set.order_by("srvid").filter( srvid__in=runinst ):
yield inst yield inst

Loading…
Cancel
Save