From: Ian Main Date: Fri, 4 May 2012 18:23:09 +0000 (-0700) Subject: Apparently boto expects / to be list stacks. X-Git-Tag: 2014.1~1880 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8bfacf2e2322ec440e752fe90e2eb7cf615c8f79;p=openstack-build%2Fheat-build.git Apparently boto expects / to be list stacks. This patch just makes / redirect to list_stacks. Signed-off-by: Ian Main --- diff --git a/heat/api/v1/__init__.py b/heat/api/v1/__init__.py index 25b1c876..60b382c2 100644 --- a/heat/api/v1/__init__.py +++ b/heat/api/v1/__init__.py @@ -39,7 +39,8 @@ class API(wsgi.Router): mapper.connect("/CreateStack", controller=stacks_resource, action="create", conditions=dict(method=["POST"])) - mapper.connect("/", controller=stacks_resource, action="index") + mapper.connect("/", controller=stacks_resource, + action="list", conditions=dict(method=["GET"])) mapper.connect("/ListStacks", controller=stacks_resource, action="list", conditions=dict(method=["GET"])) mapper.connect("/DescribeStacks", controller=stacks_resource,