summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/resource/views/infra_workload.py2
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