Drop status_set() from pause_resume actions
This commit is contained in:
parent
c31d83a808
commit
744d05a142
@ -31,8 +31,6 @@ def pause(args):
|
||||
stopped = service_pause(service)
|
||||
if not stopped:
|
||||
raise Exception("{} didn't stop cleanly.".format(service))
|
||||
status_set(
|
||||
"maintenance", "Paused. Use 'resume' action to resume normal service.")
|
||||
|
||||
|
||||
def resume(args):
|
||||
@ -44,7 +42,6 @@ def resume(args):
|
||||
started = service_resume(service)
|
||||
if not started:
|
||||
raise Exception("{} didn't start cleanly.".format(service))
|
||||
status_set("active", "")
|
||||
|
||||
|
||||
# A dictionary of all the defined actions to callables (which take
|
||||
|
Loading…
Reference in New Issue
Block a user