Skip to content

Commit f3f8c20

Browse files
author
Steve Martinelli
committed
use correct manager for volume snapshots
the snapshot manager is volume_snapshots, not snapshots. Closes-Bug: #1567895 Change-Id: I12c0238fc04507c97e92089fda3bec816171a973
1 parent 9f2e703 commit f3f8c20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/volume/v2/volume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def take_action(self, parsed_args):
110110
snapshot = None
111111
if parsed_args.snapshot:
112112
snapshot = utils.find_resource(
113-
volume_client.snapshots,
113+
volume_client.volume_snapshots,
114114
parsed_args.snapshot).id
115115

116116
project = None

0 commit comments

Comments
 (0)