From 7273d222cb68257fefa8603bfe77be98a3d38659 Mon Sep 17 00:00:00 2001
From: chenying <ying.chen@huawei.com>
Date: Tue, 22 Dec 2015 14:48:20 +0800
Subject: [PATCH] Fix a spelling mistake of smaug in wsgi module

Fix a spelling mistake of smaug in wsgi module.

Change-Id: I12bacf2476bbd242bdcf5bc3fb1a70673bba875c
Closes-Bug: #1528458
---
 smaug/api/openstack/wsgi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smaug/api/openstack/wsgi.py b/smaug/api/openstack/wsgi.py
index 8e310137..b80a5882 100644
--- a/smaug/api/openstack/wsgi.py
+++ b/smaug/api/openstack/wsgi.py
@@ -620,7 +620,7 @@ class Resource(wsgi.Application):
         action_args.update(contents)
 
         project_id = action_args.pop("project_id", None)
-        context = request.environ.get('smuag.context')
+        context = request.environ.get('smaug.context')
         if (context and project_id and (project_id != context.project_id)):
             msg = _("Malformed request url")
             return Fault(webob.exc.HTTPBadRequest(explanation=msg))