summaryrefslogtreecommitdiff
path: root/cinderclient/v2/shell.py
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 /cinderclient/v2/shell.py
parente0132e5206bd0f5d33a7a442301261b690207170 (diff)
downloadpython-cinderclient-1.0.8.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
Diffstat (limited to 'cinderclient/v2/shell.py')
-rw-r--r--cinderclient/v2/shell.py1
1 files changed, 1 insertions, 0 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)