summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Perez <thingee@gmail.com>2014-01-31 13:55:09 -0800
committerjohn-griffith <john.griffith@solidfire.com>2014-02-04 14:14:22 -0700
commite31e057cccd4e79bcb989ddbfd1a47c5d801d51a (patch)
treee2bd237a2172b38f3ff69aec42b9b973715c2a3e
parente0132e5206bd0f5d33a7a442301261b690207170 (diff)
downloadpython-cinderclient-e31e057cccd4e79bcb989ddbfd1a47c5d801d51a.tar.gz
Revert "Update cinderclient to skip the additional GET during create"1.0.8
This reverts commit 47014971b09f0334e5cc3b414bef31784f88a37d. Conflicts: doc/source/index.rst Change-Id: Ica1e526b2c181d1ce72183b7293d21119371c822
-rw-r--r--cinderclient/v2/shell.py1
-rw-r--r--doc/source/index.rst1
2 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py
index 10246f8..636c812 100644
--- a/cinderclient/v2/shell.py
+++ b/cinderclient/v2/shell.py
@@ -296,6 +296,7 @@ def do_create(cs, args):
scheduler_hints=hints)
info = dict()
+ volume = cs.volumes.get(volume.id)
info.update(volume._info)
info.pop('links', None)
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 8eab249..8341aa7 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -36,7 +36,6 @@ Release Notes
* Add volume retype command
.. _966329: https://bugs.launchpad.net/python-cinderclient/+bug/966329
-.. _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