Tidy pause/resume messages.
This commit is contained in:
parent
2d9756de6e
commit
691bc99372
@ -5,5 +5,5 @@ from charmhelpers.core import hookenv, host
|
||||
|
||||
if __name__ == "__main__":
|
||||
if not host.service_pause("mysql"):
|
||||
hookenv.action_fail("Failed to stop service mysql.")
|
||||
hookenv.action_fail("Failed to pause MySQL service.")
|
||||
sys.exit(-1)
|
||||
|
@ -6,7 +6,7 @@ from charmhelpers.core import hookenv, host
|
||||
|
||||
if __name__ == "__main__":
|
||||
if not host.service_resume("mysql"):
|
||||
hookenv.action_fail("Failed to start service mysql.")
|
||||
hookenv.action_fail("Failed to resume MySQL service.")
|
||||
sys.exit(-1)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user