]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix a wrong argument of create method
authorDaisuke Fujita <fuzita.daisuke@jp.fujitsu.com>
Wed, 15 Apr 2015 05:03:31 +0000 (14:03 +0900)
committerMike Perez <thingee@gmail.com>
Tue, 21 Apr 2015 14:37:11 +0000 (07:37 -0700)
Change the argument 'QoSSpecs.create' to 'qos_specs.create'.

Closes-Bug: #1443331
(cherry picked from commit a3c0a4104f95acff00d3a9721caa4da730619fb7)
Change-Id: Iabebc5f1681be75fb06d836ea72b93de0a9d688e

cinder/api/contrib/qos_specs_manage.py

index cd136f5e754bd6110bf35d57b88aeea4812a88ff..434bacd9d44ef083937bfe2c76b4ff250579eafb 100644 (file)
@@ -137,7 +137,7 @@ class QoSSpecsController(wsgi.Controller):
             spec = qos_specs.get_qos_specs_by_name(context, name)
             notifier_info = dict(name=name, specs=specs)
             rpc.get_notifier('QoSSpecs').info(context,
-                                              'QoSSpecs.create',
+                                              'qos_specs.create',
                                               notifier_info)
         except exception.InvalidInput as err:
             notifier_err = dict(name=name, error_message=err)