diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-08-28 03:47:27 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2019-08-28 03:47:27 +0000 |
commit | d0c33a679aa6e058bff58a07b320b78ba63090a5 (patch) | |
tree | 849d36f8478a1c60b53be1725d2f20644e6328e5 /share/common/msapi/helper.py | |
parent | 24f743142abe736e88fe7f4bf69511d2de823ab6 (diff) |
Fix unregistration error
Change-Id: I907239e0d3f54bdd8cab6103cb3525626e629e39
Issue-ID: MULTICLOUD-793
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/common/msapi/helper.py')
-rw-r--r-- | share/common/msapi/helper.py | 2 |
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 = { |