From ff967194048e1e579db210ddad2df3af49ec1430 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 14 Aug 2012 15:56:13 +0100 Subject: [PATCH] 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 --- heat/api/v1/ec2token.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heat/api/v1/ec2token.py b/heat/api/v1/ec2token.py index cd47db8c13..58b8869bd5 100644 --- a/heat/api/v1/ec2token.py +++ b/heat/api/v1/ec2token.py @@ -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)