summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2
diff options
context:
space:
mode:
authorsunyajing <yajing.sun@easystack.cn>2016-06-27 16:09:16 +0800
committersunyajing <yajing.sun@easystack.cn>2016-06-27 16:09:16 +0800
commit0106447cffa6cbfc3eea27e8a02ef677c69e97a2 (patch)
tree81c9565cc2a73a00878eda6cadf74b546de5933c /openstackclient/volume/v2
parent21ac9230e80202b9a736960ace369f0a20af837f (diff)
downloadpython-openstackclient-0106447cffa6cbfc3eea27e8a02ef677c69e97a2.tar.gz
Make set/unset command in volume pass normally when nothing specified
Change-Id: Iac2d1b4ba9fa6358dc9317054af970eae8d49e84
Diffstat (limited to 'openstackclient/volume/v2')
-rw-r--r--openstackclient/volume/v2/volume.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/openstackclient/volume/v2/volume.py b/openstackclient/volume/v2/volume.py
index e54395fa..be2388fb 100644
--- a/openstackclient/volume/v2/volume.py
+++ b/openstackclient/volume/v2/volume.py
@@ -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"))