diff options
-rw-r--r-- | ocata/ocata/resource/views/infra_workload.py | 2 | ||||
-rw-r--r-- | pike/pike/resource/views/infra_workload.py | 2 |
2 files changed, 2 insertions, 2 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 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 |