Use WebOb directly in ec2_token middleware
When https://review.openstack.org/#/c/71494/ was introduced, it forgot to change ec2_token as well. This caused errors when building docs. Change-Id: I051519c815ed5ae60ec07203073131db1e031e10
This commit is contained in:
parent
59c28d1feb
commit
4e10d7cc1e
|
@ -43,7 +43,7 @@ CONF.register_opts(keystone_ec2_opts)
|
|||
class EC2Token(wsgi.Middleware):
|
||||
"""Authenticate an EC2 request with keystone and convert to token."""
|
||||
|
||||
@webob.dec.wsgify(RequestClass=wsgi.Request)
|
||||
@webob.dec.wsgify()
|
||||
def __call__(self, req):
|
||||
# Read request signature and access id.
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue