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
This commit is contained in:
Steve Martinelli 2013-07-21 14:45:22 -05:00
parent 7b47579dad
commit 8dd9feb643

@ -166,10 +166,7 @@ class UnsetVolumeType(command.Command):
)
if parsed_args.property:
volume_client.volumes.delete_metadata(
volume_type.id,
parsed_args.property,
)
volume_type.unset_keys(parsed_args.property)
else:
self.app.log.error("No changes requested\n")
return