summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/qos_specs.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-06-06 21:48:12 +0000
committerGerrit Code Review <review@openstack.org>2016-06-06 21:48:12 +0000
commit376e3379ee358a15987234e4d1917835f7098658 (patch)
tree96e8a15ca6aef3837d358ddd4f02794f4677e742 /openstackclient/volume/v2/qos_specs.py
parent8183e6daf76d2345a08514b103d8234f3e2b27cc (diff)
parent2672e37ee211bf08a4b6078668bd36a08c9c606a (diff)
downloadpython-openstackclient-376e3379ee358a15987234e4d1917835f7098658.tar.gz
Merge "Make set/unset commands in volume return normally when nothing specified"
Diffstat (limited to 'openstackclient/volume/v2/qos_specs.py')
-rw-r--r--openstackclient/volume/v2/qos_specs.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/openstackclient/volume/v2/qos_specs.py b/openstackclient/volume/v2/qos_specs.py
index 3cea3303..90e11c77 100644
--- a/openstackclient/volume/v2/qos_specs.py
+++ b/openstackclient/volume/v2/qos_specs.py
@@ -202,8 +202,6 @@ class SetQos(command.Command):
if parsed_args.property:
volume_client.qos_specs.set_keys(qos_spec.id,
parsed_args.property)
- else:
- self.app.log.error(_("No changes requested\n"))
class ShowQos(command.ShowOne):
@@ -263,5 +261,3 @@ class UnsetQos(command.Command):
if parsed_args.property:
volume_client.qos_specs.unset_keys(qos_spec.id,
parsed_args.property)
- else:
- self.app.log.error(_("No changes requested\n"))