[Trivial] Add backup-id to 'size' param info
Specifying size is not required while providing --backup-id. Also When we don't provide the size the output turns out to be error: Size is a required parameter if snapshot or source volume or backup is not specified. which should be modified in 'size' info too. Change-Id: Ia250df37db9170757d5f834d516781e04582f08b
This commit is contained in:

committed by
Rajat Dhasmana

parent
64b2d5d83b
commit
525a855643
@@ -481,7 +481,7 @@ def do_reset_state(cs, args):
|
|||||||
type=int,
|
type=int,
|
||||||
action=CheckSizeArgForCreate,
|
action=CheckSizeArgForCreate,
|
||||||
help='Size of volume, in GiBs. (Required unless '
|
help='Size of volume, in GiBs. (Required unless '
|
||||||
'snapshot-id/source-volid is specified).')
|
'snapshot-id/source-volid/backup-id is specified).')
|
||||||
@utils.arg('--consisgroup-id',
|
@utils.arg('--consisgroup-id',
|
||||||
metavar='<consistencygroup-id>',
|
metavar='<consistencygroup-id>',
|
||||||
default=None,
|
default=None,
|
||||||
|
Reference in New Issue
Block a user