summaryrefslogtreecommitdiffstats
path: root/pike
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2018-10-12 08:37:27 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2018-10-12 08:37:27 +0000
commitceb8740788a698acc8c4990bead774461c1b408d (patch)
treeb55761b7563a00c2fad66bb0a3e371bef3058fe9 /pike
parent746d316b6c14885dc0fd8e0784f9ab88050cdbeb (diff)
Fix bug in infra_workload
Pass template data to underlying VIM to instantiate a stack Change-Id: Ibad0d8bb0ecf82b05234ba433f5bbad8d3476cc7 Issue-ID: MULTICLOUD-375 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'pike')
-rw-r--r--pike/pike/resource/views/infra_workload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pike/pike/resource/views/infra_workload.py b/pike/pike/resource/views/infra_workload.py
index 4d0b6716..e25c6d15 100644
--- a/pike/pike/resource/views/infra_workload.py
+++ b/pike/pike/resource/views/infra_workload.py
@@ -86,7 +86,7 @@ class InfraWorkload(APIView):
self._logger.info("retrieve stack resources, URI:%s" % resource_uri)
retcode, content, os_status = helper.MultiCloudServiceHelper(cloud_owner,
regionid, v2_token_resp_json, service_type,
- resource_uri, None, "POST")
+ resource_uri, template_data, "POST")
stack1 = content.get('stack', None) if retcode == 0 and content else None
resp_template = {
"template_type": template_type,