heat api : bugfix, save config correctly in EC2Token

Fix issue where EC2Token fails to save the config correctly,
which breaks AWS Authentication

Fixes #191

Change-Id: I77dfe182aac81c55b7d487d88073b40eac1faadd
Signed-off-by: Steven Hardy <shardy@redhat.com>
This commit is contained in:
Steven Hardy 2012-08-14 15:56:13 +01:00
parent 005b613f8b
commit ff96719404

View File

@ -38,8 +38,8 @@ logger = logging.getLogger(__name__)
class EC2Token(wsgi.Middleware):
"""Authenticate an EC2 request with keystone and convert to token."""
def __init__(self, app, conf, **local_conf):
self.conf = local_conf
def __init__(self, app, conf):
self.conf = conf
self.application = app
@webob.dec.wsgify(RequestClass=wsgi.Request)