summaryrefslogtreecommitdiffstats
path: root/share/starlingx_base/registration
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2020-03-01 17:50:09 +0800
committerBin Yang <bin.yang@windriver.com>2020-03-01 17:50:09 +0800
commit9ecaed51d700a669259ab78b55dc57e12f4025d5 (patch)
tree1b93b6aa04c29d6fdc9f965c348aaebc074aa89f /share/starlingx_base/registration
parenta9ab01f7bc1c5c2a421d10d68d6f90b69462d6d0 (diff)
Fix registration error
Change-Id: I5b6b0668488ec87ec59d4cb8f33b7904a466c045 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/starlingx_base/registration')
-rw-r--r--share/starlingx_base/registration/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/starlingx_base/registration/registration.py b/share/starlingx_base/registration/registration.py
index 4d5e1f3d..6064b5ee 100644
--- a/share/starlingx_base/registration/registration.py
+++ b/share/starlingx_base/registration/registration.py
@@ -474,7 +474,7 @@ class RegistryHelper(newton_registration.RegistryHelper):
cloud_extra_info = viminfo.get("cloud_extra_info_json",{})
# check if a k8s platform
- if VimDriverUtils.check_k8s_cluster(viminfo):
+ if not VimDriverUtils.check_k8s_cluster(viminfo):
self._logger.info("%s, %s is not a k8s platform"
% (cloud_owner, cloud_region_id))
return