use correct manager for volume snapshots
the snapshot manager is volume_snapshots, not snapshots. Closes-Bug: #1567895 Change-Id: I12c0238fc04507c97e92089fda3bec816171a973
This commit is contained in:
parent
9f2e7039e1
commit
f3f8c20a8c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user