]> 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)
committerDaisuke Fujita <fuzita.daisuke@jp.fujitsu.com>
Wed, 15 Apr 2015 05:03:31 +0000 (14:03 +0900)
Change the argument 'QoSSpecs.create' to 'qos_specs.create'.

Change-Id: Iabebc5f1681be75fb06d836ea72b93de0a9d688e
Closes-Bug: #1443331

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)