From 9ecaed51d700a669259ab78b55dc57e12f4025d5 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Sun, 1 Mar 2020 17:50:09 +0800 Subject: Fix registration error Change-Id: I5b6b0668488ec87ec59d4cb8f33b7904a466c045 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang --- share/starlingx_base/registration/registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg