From a1112c5a036fa2294f8e34990a45ad6648546a78 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 26 Oct 2024 14:28:01 +0200 Subject: [PATCH] fix(clustertool): remove undue verbosity from status check --- clustertool/pkg/nodestatus/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clustertool/pkg/nodestatus/status.go b/clustertool/pkg/nodestatus/status.go index a7528a8e9014a..313f0c944e853 100644 --- a/clustertool/pkg/nodestatus/status.go +++ b/clustertool/pkg/nodestatus/status.go @@ -53,7 +53,7 @@ func CheckStatus(node string) (string, error) { argsslice := append(baseStatusCMD(node), "-o", "jsonpath={.spec.stage}") out, err := helper.RunCommand(argsslice, true) if err != nil { - log.Warn().Err(err).Str("output", string(out)).Msg("Error running command, checking for certificate issue") + log.Debug().Err(err).Str("output", string(out)).Msg("Error running command, checking for certificate issue") if strings.Contains(string(out), "certificate signed by unknown authority") { log.Debug().Msg("Certificate signed by unknown authority; retrying with insecure flag") argsslice = append(baseStatusCMD(node), "-o", "jsonpath={.spec.stage}", "--insecure")