Fix refactoring error
This commit is contained in:
4
mumo.py
4
mumo.py
@@ -286,7 +286,7 @@ def do_main_program():
|
||||
else:
|
||||
debug('Virtual server %d got started', sid)
|
||||
|
||||
self.app.manager.announceMeta([sid], "started", server, current)
|
||||
self.app.manager.announceMeta(sid, "started", server, current)
|
||||
|
||||
@fortifyIceFu()
|
||||
@checkSecret
|
||||
@@ -303,7 +303,7 @@ def do_main_program():
|
||||
info('Watched virtual server %d got stopped', sid)
|
||||
else:
|
||||
debug('Virtual server %d got stopped', sid)
|
||||
self.app.manager.announceMeta([sid], "stopped", server, current)
|
||||
self.app.manager.announceMeta(sid, "stopped", server, current)
|
||||
return
|
||||
except Ice.ConnectionRefusedException:
|
||||
self.app.connected = False
|
||||
|
@@ -284,7 +284,7 @@ class MumoManager(Worker):
|
||||
"""
|
||||
Call a function on the meta handlers
|
||||
|
||||
@param server Servers to announce to
|
||||
@param server Server to announce to
|
||||
@param function Name of the function to call on the handler
|
||||
@param args List of arguments
|
||||
@param kwargs List of keyword arguments
|
||||
|
Reference in New Issue
Block a user