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:
Swapnil Kulkarni 2014-01-08 13:24:06 +05:30
parent 2d155ecb07
commit 47014971b0
2 changed files with 1 additions and 1 deletions

View File

@ -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)

View File

@ -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