Update cinderclient to skip the additional GET during create
With change https://review.openstack.org/64945 cinder V2 API now returns volume details. Updated do_create in cinderclient to remove additional GET call. Change-Id: I2a36f2fa865b52f228bad44e0a9c67d49228321e Partial-Bug: #1265893
This commit is contained in:
parent
2d155ecb07
commit
47014971b0
@ -296,7 +296,6 @@ def do_create(cs, args):
|
||||
scheduler_hints=hints)
|
||||
|
||||
info = dict()
|
||||
volume = cs.volumes.get(volume.id)
|
||||
info.update(volume._info)
|
||||
|
||||
info.pop('links', None)
|
||||
|
@ -33,6 +33,7 @@ MASTER
|
||||
------
|
||||
* Add support for reset-state on multiple volumes or snapshots at once
|
||||
|
||||
.. _1265893: https://bugs.launchpad.net/python-cinderclient/+bug/1265893
|
||||
.. _1256043: https://bugs.launchpad.net/python-cinderclient/+bug/1256043
|
||||
.. _1254951: http://bugs.launchpad.net/python-cinderclient/+bug/1254951
|
||||
.. _1254587: http://bugs.launchpad.net/python-cinderclient/+bug/1254587
|
||||
|
Loading…
x
Reference in New Issue
Block a user