diff options
author | Zuul <zuul@review.opendev.org> | 2020-02-12 12:56:08 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-02-12 12:56:08 +0000 |
commit | 48a9cd5acaf970ef32df95f39722db08fcff284b (patch) | |
tree | 7270601b4d4a6005a400561fb12eb4e418bb95bc /cinderclient/v3 | |
parent | 658de38c20e028898fe0641de2e18686703f7b70 (diff) | |
parent | ceddb3cfd033661f63d1245a45e0e197561be19c (diff) | |
download | python-cinderclient-48a9cd5acaf970ef32df95f39722db08fcff284b.tar.gz |
Merge "Fix: --poll inconsistency"
Diffstat (limited to 'cinderclient/v3')
-rw-r--r-- | cinderclient/v3/shell.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 85feca5..1fb5cf8 100644 --- a/cinderclient/v3/shell.py +++ b/cinderclient/v3/shell.py @@ -676,6 +676,8 @@ def do_create(cs, args): shell_utils._poll_for_status( cs.volumes.get, volume.id, info, 'creating', ['available'], timeout_period, cs.client.global_request_id, cs.messages) + volume = cs.volumes.get(volume.id) + info.update(volume._info) utils.print_dict(info) |