From 525a8556434517824f7d5c142a56a772b4084601 Mon Sep 17 00:00:00 2001 From: whoami-rajat Date: Wed, 19 Sep 2018 11:00:43 +0530 Subject: [PATCH] [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 --- cinderclient/v3/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 8cba6eee9..d434fdc99 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='', default=None,