From d1d609836cc5019f85616cc5d4a8e0efc06b0c49 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 26 Oct 2024 14:17:55 +0200 Subject: [PATCH] fix(clustertool): remove badly added return --- clustertool/pkg/kubectlcmds/checkstatus.go | 1 - 1 file changed, 1 deletion(-) diff --git a/clustertool/pkg/kubectlcmds/checkstatus.go b/clustertool/pkg/kubectlcmds/checkstatus.go index 35cc3f9edc2..7a62d3897d5 100644 --- a/clustertool/pkg/kubectlcmds/checkstatus.go +++ b/clustertool/pkg/kubectlcmds/checkstatus.go @@ -45,7 +45,6 @@ func CheckStatus(requiredPods []string, excludePod []string, timeout time.Durati pods, err := clientset.CoreV1().Pods("").List(context.TODO(), metav1.ListOptions{}) if err != nil { log.Error().Err(err).Msg("Error listing pods") - return fmt.Errorf("error listing pods: %w", err) } // Check if the required pods are both present and running