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:
parent
cc5931e7e4
commit
7273d222cb
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user