summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/auth.py b/nova/api/auth.py
index 81e0a0377..5191189f2 100644
--- a/nova/api/auth.py
+++ b/nova/api/auth.py
@@ -97,6 +97,7 @@ class NovaKeystoneContext(wsgi.Middleware):
if FLAGS.use_forwarded_for:
remote_address = req.headers.get('X-Forwarded-For', remote_address)
+ service_catalog = None
if req.headers.get('X_SERVICE_CATALOG') is not None:
service_catalog = json.loads(req.headers.get('X_SERVICE_CATALOG'))