Skip to content

Commit

Permalink
Fix log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontesi committed Nov 30, 2023
1 parent d805c0c commit f037993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit f037993

Please sign in to comment.