summaryrefslogtreecommitdiff
path: root/openstackclient/image
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-06-22 14:37:44 +0000
committerGerrit Code Review <review@openstack.org>2016-06-22 14:37:44 +0000
commit775b1acccd9c2ea78b4b46a2dac9e812b3b1eff6 (patch)
tree492601fd24ef2e22a8c30a7acd9735f6cb1dd6d2 /openstackclient/image
parentde909e4afc73ab88af6925314869d11564033842 (diff)
parent9c62af8a42ebfeb60d88f5ad0af7c1c2fd562853 (diff)
downloadpython-openstackclient-775b1acccd9c2ea78b4b46a2dac9e812b3b1eff6.tar.gz
Merge "Make set/unset commands in compute/image/common return normally when nothing specified"
Diffstat (limited to 'openstackclient/image')
-rw-r--r--openstackclient/image/v1/image.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/openstackclient/image/v1/image.py b/openstackclient/image/v1/image.py
index 27467b0c..e7b60e5a 100644
--- a/openstackclient/image/v1/image.py
+++ b/openstackclient/image/v1/image.py
@@ -691,10 +691,6 @@ class SetImage(command.Command):
image.properties.update(kwargs['properties'])
kwargs['properties'] = image.properties
- if not kwargs:
- LOG.warning(_('no arguments specified'))
- return
-
image = image_client.images.update(image.id, **kwargs)
finally:
# Clean up open files - make sure data isn't a string