Change service args metavar hostname to host
The zun service list not exist hostname, The service list display Host columns. Change-Id: Ia969ba0bd60f278281b9c339cb56bddcf5898fa5 Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This commit is contained in:
parent
13e1918025
commit
ad59e30567
@ -44,7 +44,7 @@ def do_service_delete(cs, args):
|
||||
{'binary': args.binary, 'host': args.host, 'e': e})
|
||||
|
||||
|
||||
@utils.arg('host', metavar='<hostname>', help='Name of host.')
|
||||
@utils.arg('host', metavar='<host>', help='Name of host.')
|
||||
@utils.arg('binary', metavar='<binary>', help='Service binary.')
|
||||
def do_service_enable(cs, args):
|
||||
"""Enable the Zun service."""
|
||||
@ -52,7 +52,7 @@ def do_service_enable(cs, args):
|
||||
utils.print_dict(res[1]['service'])
|
||||
|
||||
|
||||
@utils.arg('host', metavar='<hostname>', help='Name of host.')
|
||||
@utils.arg('host', metavar='<host>', help='Name of host.')
|
||||
@utils.arg('binary', metavar='<binary>', help='Service binary.')
|
||||
@utils.arg(
|
||||
'--reason',
|
||||
@ -64,7 +64,7 @@ def do_service_disable(cs, args):
|
||||
utils.print_dict(res[1]['service'])
|
||||
|
||||
|
||||
@utils.arg('host', metavar='<hostname>', help='Name of host.')
|
||||
@utils.arg('host', metavar='<host>', help='Name of host.')
|
||||
@utils.arg('binary', metavar='<binary>', help='Service binary.')
|
||||
@utils.arg(
|
||||
'--unset',
|
||||
|
Loading…
Reference in New Issue
Block a user