diff options
| author | Jenkins <jenkins@review.openstack.org> | 2011-12-01 13:08:04 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2011-12-01 13:08:04 +0000 |
| commit | fcef1e944d8253b48c473165ec237f95346dd8cf (patch) | |
| tree | 0954cd35d8ec9cb0a67fa65d76755aa7f2e79f42 | |
| parent | b1b7eede2226142615b32b437a4e153324daf83a (diff) | |
| parent | 01afc61e6201ea22926f27e82280f0b3c6f2362f (diff) | |
Merge "Remove unused ec2.action_args"
| -rw-r--r-- | nova/api/ec2/__init__.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py index 100837631..23042dab0 100644 --- a/nova/api/ec2/__init__.py +++ b/nova/api/ec2/__init__.py @@ -256,7 +256,6 @@ class Requestify(wsgi.Middleware): api_request = apirequest.APIRequest(self.controller, action, req.params['Version'], args) req.environ['ec2.request'] = api_request - req.environ['ec2.action_args'] = args return self.application @@ -345,9 +344,8 @@ class Executor(wsgi.Application): """Execute an EC2 API request. - Executes 'ec2.action' upon 'ec2.controller', passing 'nova.context' and - 'ec2.action_args' (all variables in WSGI environ.) Returns an XML - response, or a 400 upon failure. + Executes 'ec2.request', passing 'nova.context' (both variables in WSGI + environ.) Returns an XML response, or a 400 upon failure. """ @webob.dec.wsgify(RequestClass=wsgi.Request) |
