Tidy pause/resume messages.

This commit is contained in:
Geoffrey J. Teale 2015-08-06 15:47:35 +02:00
parent 2d9756de6e
commit 691bc99372
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)