From e31e057cccd4e79bcb989ddbfd1a47c5d801d51a Mon Sep 17 00:00:00 2001 From: Mike Perez <thingee@gmail.com> Date: Fri, 31 Jan 2014 13:55:09 -0800 Subject: [PATCH] Revert "Update cinderclient to skip the additional GET during create" This reverts commit 47014971b09f0334e5cc3b414bef31784f88a37d. Conflicts: doc/source/index.rst Change-Id: Ica1e526b2c181d1ce72183b7293d21119371c822 --- cinderclient/v2/shell.py | 1 + doc/source/index.rst | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 10246f87b..636c812f9 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 8eab24986..8341aa780 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