diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 081fe234a..a502378cc 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -248,7 +248,7 @@ def do_create(cs, args): metadata=volume_metadata) info = dict() - volume = cs.volumes.get(info['id']) + volume = cs.volumes.get(volume.id) info.update(volume._info) info.pop('links')