summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-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