Fix a spelling mistake of smaug in wsgi module

Fix a spelling mistake of smaug in wsgi module.

Change-Id: I12bacf2476bbd242bdcf5bc3fb1a70673bba875c
Closes-Bug: #1528458
This commit is contained in:
chenying 2015-12-22 14:48:20 +08:00
parent cc5931e7e4
commit 7273d222cb
1 changed files with 1 additions and 1 deletions

View File

@ -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))