diff options
author | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2019-02-14 09:24:06 +0000 |
---|---|---|
committer | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2019-02-14 09:24:06 +0000 |
commit | 6598c5d4717476792f71192a95a2704e08f1cbc2 (patch) | |
tree | 42343606c6fa73ded877d7058819871daa7e6bfc /ocata | |
parent | 385c5ad928f661cdf25c639cc6da9638a8f349ab (diff) |
Fix issue of heatbridge
Change-Id: I91d6086d514cc481e2574bd3e6c6b324d708d092
Issue-ID: MULTICLOUD-479
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'ocata')
-rw-r--r-- | ocata/ocata/resource/views/infra_workload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocata/ocata/resource/views/infra_workload.py b/ocata/ocata/resource/views/infra_workload.py index 0a3a5743..ab464da8 100644 --- a/ocata/ocata/resource/views/infra_workload.py +++ b/ocata/ocata/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 |