From f037993669635eff927b697eefeb96a208476791 Mon Sep 17 00:00:00 2001 From: jmontesi Date: Thu, 30 Nov 2023 09:30:47 +0100 Subject: [PATCH] Fix log lines --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ee9362683..b9a4c1b97 100644 --- a/main.go +++ b/main.go @@ -121,11 +121,11 @@ func getK8sClientsConfigFileNames() []string { kubeConfigFilePath := filepath.Join(params.Home, ".kube", "config") // Check if the kubeconfig path exists if _, err := os.Stat(kubeConfigFilePath); err == nil { - log.Infof("kubeconfig path %s is present", kubeConfigFilePath) + logrus.Infof("kubeconfig path %s is present", kubeConfigFilePath) // Only add the kubeconfig to the list of paths if it exists, since it is not added by the user fileNames = append(fileNames, kubeConfigFilePath) } else { - log.Infof("kubeconfig path %s is not present", kubeConfigFilePath) + logrus.Infof("kubeconfig path %s is not present", kubeConfigFilePath) } }