Fixes merge conflicts

This commit is contained in:
ilan
2017-04-05 16:44:21 +03:00
parent 81fdfa6abe
commit e84422530b
2 changed files with 22 additions and 2 deletions
+11
View File
@@ -187,3 +187,14 @@ def info(broker=None):
term.white('{0:.4f}'.format(exec_time))
)
return True
def get_ids():
# prints id (PID) of running clusters
stat = Stat.get_all()
if stat:
for s in stat:
print(s.cluster_id)
else:
print('No clusters appear to be running.')
return True