Profile id or name is a default profile

In a cluster, nodes can have differnet profiles.
So here the profile id or name is a default profile.

Change-Id: Ifce8ed47d3270203f08db5df2901fd54d918ec0a
This commit is contained in:
jonnary 2017-07-11 16:21:24 +08:00
parent 79a9a760b0
commit 8a03b35610
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ class CreateCluster(command.ShowOne):
'--profile', '--profile',
metavar='<profile>', metavar='<profile>',
required=True, required=True,
help=_('Profile Id or name used for this cluster') help=_('Default profile Id or name used for this cluster')
) )
parser.add_argument( parser.add_argument(
'name', 'name',

View File

@ -558,7 +558,7 @@ def _show_cluster(service, cluster_id):
@utils.arg('-p', '--profile', metavar='<PROFILE>', required=True, @utils.arg('-p', '--profile', metavar='<PROFILE>', required=True,
help=_('Profile Id or name used for this cluster.')) help=_('Default profile Id or name used for this cluster.'))
@utils.arg('-n', '--min-size', metavar='<MIN-SIZE>', default=0, @utils.arg('-n', '--min-size', metavar='<MIN-SIZE>', default=0,
help=_('Min size of the cluster. Default to 0.')) help=_('Min size of the cluster. Default to 0.'))
@utils.arg('-m', '--max-size', metavar='<MAX-SIZE>', default=-1, @utils.arg('-m', '--max-size', metavar='<MAX-SIZE>', default=-1,