summaryrefslogtreecommitdiffstats
path: root/share/common
diff options
context:
space:
mode:
Diffstat (limited to 'share/common')
-rw-r--r--share/common/msapi/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/common/msapi/helper.py b/share/common/msapi/helper.py
index 50ef3407..7cfe77bd 100644
--- a/share/common/msapi/helper.py
+++ b/share/common/msapi/helper.py
@@ -347,7 +347,7 @@ class MultiCloudThreadHelper(object):
worker = item.get("worker", None)
payload = item.get("payload", None)
try:
- item["status"] = worker(*payload) or 0
+ returncode, item["status"] = worker(*payload) or (0, "Succeed")
except Exception as e:
item["status"] = str(e)
cache_item_for_query = {