Enhance the parameter check for "path" in cluster collect
Set the parameter "path" as required in senlinclient. Change-Id: I0ff95ac201ad3b1e6bbfc22cebf258d68cb4f31e Closes-Bug: #1643401
This commit is contained in:
@@ -560,7 +560,7 @@ def do_cluster_create(service, args):
|
||||
_show_cluster(service, cluster.id)
|
||||
|
||||
|
||||
@utils.arg('-p', '--path', metavar='<PATH>',
|
||||
@utils.arg('-p', '--path', metavar='<PATH>', required=True,
|
||||
help=_('A Json path string specifying the attribute to collect.'))
|
||||
@utils.arg('-L', '--list', default=False, action="store_true",
|
||||
help=_('Print a full list that contains both node ids and '
|
||||
|
||||
Reference in New Issue
Block a user