summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py
index a94bcb863..1722617ae 100644
--- a/nova/api/ec2/__init__.py
+++ b/nova/api/ec2/__init__.py
@@ -97,7 +97,7 @@ class Router(wsgi.Middleware):
def __call__(self, req):
# Obtain the appropriate controller and action for this request.
try:
- match = self.map.match(req.path)
+ match = self.map.match(req.path_info)
controller_name = match['controller_name']
controller = self.controllers[controller_name]
except: