diff options
author | Daisuke Fujita <fuzita.daisuke@jp.fujitsu.com> | 2015-04-15 14:03:31 +0900 |
---|---|---|
committer | Mike Perez <thingee@gmail.com> | 2015-04-21 07:37:11 -0700 |
commit | cc9bd73479ab4f0d14ee66eccab6fa285b8836b9 (patch) | |
tree | 4d7e83ca6804bf67f3a195e5db1a46b52b45f195 | |
parent | ae6c589c52557988e24b5ee8005d8f81564a6068 (diff) | |
download | cinder-cc9bd73479ab4f0d14ee66eccab6fa285b8836b9.tar.gz |
Fix a wrong argument of create method
Change the argument 'QoSSpecs.create' to 'qos_specs.create'.
Closes-Bug: #1443331
(cherry picked from commit a3c0a4104f95acff00d3a9721caa4da730619fb7)
Change-Id: Iabebc5f1681be75fb06d836ea72b93de0a9d688e
-rw-r--r-- | cinder/api/contrib/qos_specs_manage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinder/api/contrib/qos_specs_manage.py b/cinder/api/contrib/qos_specs_manage.py index cd136f5e7..434bacd9d 100644 --- a/cinder/api/contrib/qos_specs_manage.py +++ b/cinder/api/contrib/qos_specs_manage.py @@ -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) |