Merge "Switch param values in enable/disable shell commands"

This commit is contained in:
Zuul 2021-04-09 14:35:18 +00:00 committed by Gerrit Code Review
commit b60b06b975
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ def enable(service: str) -> None:
e.g. *rabbit* e.g. *rabbit*
""" """
check('snapctl', 'start', '--enable', 'microstack.{}'.format(service)) check('snapctl', 'start', 'microstack.{}'.format(service), '--enable')
def disable(service: str) -> None: def disable(service: str) -> None:
@ -169,7 +169,7 @@ def disable(service: str) -> None:
e.g. *rabbit* e.g. *rabbit*
""" """
check('snapctl', 'stop', '--disable', 'microstack.{}'.format(service)) check('snapctl', 'stop', 'microstack.{}'.format(service), '--disable')
def config_get(*keys): def config_get(*keys):