summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v1/qos_specs.py
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2015-12-18 23:25:05 +0800
committerTang Chen <tangchen@cn.fujitsu.com>2015-12-18 23:25:05 +0800
commitf552302b614e612892714173b45b651caa10371a (patch)
treeb5a9d43e697c7a43a5f27f999295f8b54fa7491e /openstackclient/volume/v1/qos_specs.py
parent251939fb366ccaf0822562705e856c5a6a508ac6 (diff)
downloadpython-openstackclient-f552302b614e612892714173b45b651caa10371a.tar.gz
Trivial: Remove useless return from files in image and volume
Change-Id: I3526ecd202d0908d91305a066ad72d03cee794b5
Diffstat (limited to 'openstackclient/volume/v1/qos_specs.py')
-rw-r--r--openstackclient/volume/v1/qos_specs.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/openstackclient/volume/v1/qos_specs.py b/openstackclient/volume/v1/qos_specs.py
index d1c70113..73e70a21 100644
--- a/openstackclient/volume/v1/qos_specs.py
+++ b/openstackclient/volume/v1/qos_specs.py
@@ -55,8 +55,6 @@ class AssociateQos(command.Command):
volume_client.qos_specs.associate(qos_spec.id, volume_type.id)
- return
-
class CreateQos(show.ShowOne):
"""Create new QoS specification"""
@@ -123,7 +121,6 @@ class DeleteQos(command.Command):
for qos in parsed_args.qos_specs:
qos_spec = utils.find_resource(volume_client.qos_specs, qos)
volume_client.qos_specs.delete(qos_spec.id)
- return
class DisassociateQos(command.Command):
@@ -166,8 +163,6 @@ class DisassociateQos(command.Command):
elif parsed_args.all:
volume_client.qos_specs.disassociate_all(qos_spec.id)
- return
-
class ListQos(lister.Lister):
"""List QoS specifications"""
@@ -230,8 +225,6 @@ class SetQos(command.Command):
else:
self.app.log.error("No changes requested\n")
- return
-
class ShowQos(show.ShowOne):
"""Display QoS specification details"""
@@ -298,5 +291,3 @@ class UnsetQos(command.Command):
parsed_args.property)
else:
self.app.log.error("No changes requested\n")
-
- return