summaryrefslogtreecommitdiff
path: root/openstackclient/volume
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/volume')
-rw-r--r--openstackclient/volume/v2/volume.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/volume/v2/volume.py b/openstackclient/volume/v2/volume.py
index 5b7511e8..5a739f61 100644
--- a/openstackclient/volume/v2/volume.py
+++ b/openstackclient/volume/v2/volume.py
@@ -110,7 +110,7 @@ class CreateVolume(command.ShowOne):
snapshot = None
if parsed_args.snapshot:
snapshot = utils.find_resource(
- volume_client.snapshots,
+ volume_client.volume_snapshots,
parsed_args.snapshot).id
project = None