From 744d05a142366bab298303b534995ceed4124c93 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Tue, 13 Oct 2015 08:09:14 -0400 Subject: [PATCH] Drop status_set() from pause_resume actions --- actions/actions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/actions/actions.py b/actions/actions.py index b226be7..eb4f44f 100755 --- a/actions/actions.py +++ b/actions/actions.py @@ -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