Make set/unset command in volume pass normally when nothing specified

Change-Id: Iac2d1b4ba9fa6358dc9317054af970eae8d49e84
This commit is contained in:
sunyajing 2016-06-27 16:09:16 +08:00
parent 21ac9230e8
commit 0106447cff

View File

@ -457,6 +457,3 @@ class UnsetVolume(command.Command):
if parsed_args.image_property:
volume_client.volumes.delete_image_metadata(
volume.id, parsed_args.image_property)
if (not parsed_args.image_property and not parsed_args.property):
LOG.error(_("No changes requested"))