]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
api : Fix template-show partial URL redirect
authorSteven Hardy <shardy@redhat.com>
Fri, 10 May 2013 16:09:34 +0000 (17:09 +0100)
committerSteven Hardy <shardy@redhat.com>
Mon, 13 May 2013 11:10:17 +0000 (12:10 +0100)
commit53127b3e7242585337733de604aa3e192acbb7e9
tree1bc05ea4feca72256d87d2ecdeb5631b70112312
parent652a5c0c7869a97d2ded5664b368aa7e2625851e
api : Fix template-show partial URL redirect

All other API actions will provide a redirect if you only provide the
stack ID or name (rather than both), the template URL currently doesn't
because the template subpath is missing from the mapper lookup

Fixes bug #1178705

Change-Id: Ib8e8dd7691bc48587c9d91e937ac2c2c35ac3ce6
heat/api/openstack/v1/__init__.py
heat/tests/test_api_openstack_v1.py