Follow up for OSC volume target commands
This patch fixes these issues of OSC volume target commands as a follow-up for I55707f86d64cab6c6c702281823d7b0388e11747. - fixes a metavar for node UUID from <node> to <uuid> - fixes a typo in help message Change-Id: I1a255adbc6c4acb6210b5481051192c2999cb8b6 Partial-Bug: 1526231
This commit is contained in:
parent
397ab793f2
commit
72498603c7
|
@ -36,7 +36,7 @@ class CreateBaremetalVolumeTarget(command.ShowOne):
|
|||
parser.add_argument(
|
||||
'--node',
|
||||
dest='node_uuid',
|
||||
metavar='<node>',
|
||||
metavar='<uuid>',
|
||||
required=True,
|
||||
help=_('UUID of the node that this volume target belongs to.'))
|
||||
parser.add_argument(
|
||||
|
@ -154,7 +154,7 @@ class ListBaremetalVolumeTarget(command.Lister):
|
|||
'--node',
|
||||
dest='node',
|
||||
metavar='<node>',
|
||||
help=_("Only list volume targts of this node (name or UUID)."))
|
||||
help=_("Only list volume targets of this node (name or UUID)."))
|
||||
parser.add_argument(
|
||||
'--limit',
|
||||
dest='limit',
|
||||
|
@ -289,7 +289,7 @@ class SetBaremetalVolumeTarget(command.Command):
|
|||
parser.add_argument(
|
||||
'--node',
|
||||
dest='node_uuid',
|
||||
metavar='<node>',
|
||||
metavar='<uuid>',
|
||||
help=_('UUID of the node that this volume target belongs to.'))
|
||||
parser.add_argument(
|
||||
'--type',
|
||||
|
|
Loading…
Reference in New Issue