summaryrefslogtreecommitdiffstats
path: root/pike
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2019-02-14 09:24:06 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2019-02-14 09:24:06 +0000
commit6598c5d4717476792f71192a95a2704e08f1cbc2 (patch)
tree42343606c6fa73ded877d7058819871daa7e6bfc /pike
parent385c5ad928f661cdf25c639cc6da9638a8f349ab (diff)
Fix issue of heatbridge
Change-Id: I91d6086d514cc481e2574bd3e6c6b324d708d092 Issue-ID: MULTICLOUD-479 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 0a3a5743..ab464da8 100644
--- a/pike/pike/resource/views/infra_workload.py
+++ b/pike/pike/resource/views/infra_workload.py
@@ -203,7 +203,7 @@ class InfraWorkload(APIView):
# find and update resources
transactions = []
for resource in resources:
- if resource.get('resource_status', None) != "CREATED_COMPLETE":
+ if resource.get('resource_status', None) != "CREATE_COMPLETE":
continue
if resource.get('resource_type', None) == 'OS::Nova::Server':
# retrieve vserver details