Skip to content

Commit 8dd9feb

Browse files
author
Steve Martinelli
committed
Change volume manager to volume type, unset property for type
In the unset method in volume_type, it was calling the volume manager, instead of the volume_type. Bug: 1203561 Change-Id: Iea1a9214db90f15815a456955040c0c5a795ff3d
1 parent 7b47579 commit 8dd9feb

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

openstackclient/volume/v1/type.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,7 @@ def take_action(self, parsed_args):
166166
)
167167

168168
if parsed_args.property:
169-
volume_client.volumes.delete_metadata(
170-
volume_type.id,
171-
parsed_args.property,
172-
)
169+
volume_type.unset_keys(parsed_args.property)
173170
else:
174171
self.app.log.error("No changes requested\n")
175172
return

0 commit comments

Comments
 (0)