From: Daisuke Fujita Date: Wed, 15 Apr 2015 05:03:31 +0000 (+0900) Subject: Fix a wrong argument of create method X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cc9bd73479ab4f0d14ee66eccab6fa285b8836b9;p=openstack-build%2Fcinder-build.git 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 --- 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)