summaryrefslogtreecommitdiffstats
path: root/share/newton_base
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-08-28 03:47:27 +0000
committerBin Yang <bin.yang@windriver.com>2019-08-28 09:12:10 +0000
commit5478615a08971455605dcb1c35a73872ffd82f4c (patch)
tree7c95f62b432f5d97fdf703b41186ab1454bcb736 /share/newton_base
parent9b0ce8f730becd6f5a1bd5048c247fb3cf4b728a (diff)
Fix unregistration error
Change-Id: I907239e0d3f54bdd8cab6103cb3525626e629e39 Issue-ID: MULTICLOUD-793 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/newton_base')
-rw-r--r--share/newton_base/registration/registration.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/newton_base/registration/registration.py b/share/newton_base/registration/registration.py
index 5656c6b6..51e2eb4c 100644
--- a/share/newton_base/registration/registration.py
+++ b/share/newton_base/registration/registration.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2017-2018 Wind River Systems, Inc.
+# Copyright (c) 2017-2019 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -119,9 +119,9 @@ class Registry(APIView):
backlog_item = {
"id": vimid,
"worker": self.register_helper.unregistryV0,
- "payload": (vimid),
+ "payload": (vimid,), # important to add , at the end
"repeat": 0,
- "status": (1, "The de-registration is on process")
+ "status": (1, "The de-registration is in progress")
}
self.register_thread.add(backlog_item)
if 0 == self.register_thread.state():