diff options
| author | Cao Shufeng <caosf.fnst@cn.fujitsu.com> | 2016-08-24 05:38:54 -0400 |
|---|---|---|
| committer | Cao ShuFeng <caosf.fnst@cn.fujitsu.com> | 2016-08-25 10:02:25 +0000 |
| commit | cbe6c59d9abd2a57e9148a9fd7cb813baed65066 (patch) | |
| tree | 12fbb30fce74bbc0b5b68b90779190f673ecaeb0 /cinderclient/v2 | |
| parent | ca24fd41e286ea26aba17f4405b4e7742a91c592 (diff) | |
| download | python-cinderclient-cbe6c59d9abd2a57e9148a9fd7cb813baed65066.tar.gz | |
Enhance help message of upload_to_image
Following the commit fb2c434c2461a25193067104de766fc1142a6024 in
the cinder repo the --force option to upload-to-image is ignored
by default. To enable it the config option enable_force_upload
must be set to true.
The help text for upload-to-image in the python cinderclient
should remind user that --force may not work in some cloud now.
Closes-Bug: #1611667
Change-Id: Ib56fb2016d933a9bbbcb0185c50e33d2166b34e6
Diffstat (limited to 'cinderclient/v2')
| -rw-r--r-- | cinderclient/v2/shell.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 95db39d..e58fa00 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -79,7 +79,8 @@ def _print_volume_image(image): default=False, help='Enables or disables upload of ' 'a volume that is attached to an instance. ' - 'Default=False.') + 'Default=False. ' + 'This option may not be supported by your cloud.') @utils.arg('--container-format', metavar='<container-format>', default='bare', |
