Fix bug of query infra_workload 77/85177/1
authorXiaohua Zhang <xiaohua.zhang@windriver.com>
Fri, 12 Apr 2019 10:56:36 +0000 (10:56 +0000)
committerXiaohua Zhang <xiaohua.zhang@windriver.com>
Fri, 12 Apr 2019 10:56:36 +0000 (10:56 +0000)
Change-Id: I6378d5803c6cc1bd82696d46d27df06b75e34d6d
Issue-ID: MULTICLOUD-567
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
share/newton_base/resource/infra_workload_helper.py

index 13d1e18..f340157 100644 (file)
@@ -422,7 +422,7 @@ class InfraWorkloadHelper(object):
             service_type = "orchestration"
             resource_uri = "/stacks"
             if stack_id:
-                resource_uri = "/stacks/id=%s" % stack_id
+                resource_uri = "/stacks?id=%s" % stack_id
             elif stack_name:
                 resource_uri = "/stacks?name=%s" % stack_name