From 05cb831f21530523e9d0bb75a296ffe1feefd07e Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Fri, 15 Nov 2024 13:58:03 +0100 Subject: [PATCH] Review log messages Signed-off-by: cmoulliard --- pkg/cmd/get/clusters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/get/clusters.go b/pkg/cmd/get/clusters.go index 2e89c133..e001ee7d 100644 --- a/pkg/cmd/get/clusters.go +++ b/pkg/cmd/get/clusters.go @@ -362,7 +362,7 @@ func CreateKubeClientForEachIDPCluster(config *api.Config, clusterList []string) cl, err := client.New(cfg, client.Options{}) if err != nil { - fmt.Fprintf(os.Stderr, "Failed to create client for context %s", contextName) + fmt.Errorf("Failed to create client for context %s", contextName) continue }