Switch param values in enable/disable shell commands
The shell commands to enable or disable a service should pass the --enable or --disable option following the verb and service name. Closes-Bug: #1900075 Change-Id: I97d868bbd005bc5bc9c71d6ddd6f2b7746dbf18b
This commit is contained in:
parent
f91270c692
commit
eb433ed6c1
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue