diff options
| author | whoami-rajat <rajatdhasmana@gmail.com> | 2018-09-19 11:00:43 +0530 |
|---|---|---|
| committer | Rajat Dhasmana <rajatdhasmana@gmail.com> | 2018-09-19 11:30:22 +0000 |
| commit | 525a8556434517824f7d5c142a56a772b4084601 (patch) | |
| tree | eeea1b7f98ce4857986ba2983d729680183512d1 /cinderclient/v3/shell.py | |
| parent | 64b2d5d83b384da1eddecdd4be31b61220080752 (diff) | |
| download | python-cinderclient-525a8556434517824f7d5c142a56a772b4084601.tar.gz | |
[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
Diffstat (limited to 'cinderclient/v3/shell.py')
| -rw-r--r-- | cinderclient/v3/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 8cba6ee..d434fdc 100644 --- a/cinderclient/v3/shell.py +++ b/cinderclient/v3/shell.py @@ -481,7 +481,7 @@ def do_reset_state(cs, args): type=int, action=CheckSizeArgForCreate, 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', metavar='<consistencygroup-id>', default=None, |
