From: Xiaohua Zhang Date: Fri, 12 Apr 2019 10:56:36 +0000 (+0000) Subject: Fix bug of query infra_workload X-Git-Tag: 1.3.0~2^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F85177%2F1;p=multicloud%2Fopenstack.git Fix bug of query infra_workload Change-Id: I6378d5803c6cc1bd82696d46d27df06b75e34d6d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang --- diff --git a/share/newton_base/resource/infra_workload_helper.py b/share/newton_base/resource/infra_workload_helper.py index 13d1e18d..f340157c 100644 --- a/share/newton_base/resource/infra_workload_helper.py +++ b/share/newton_base/resource/infra_workload_helper.py @@ -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