From cdf4156ef89120f912310a021623c1d68213aab7 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Thu, 19 Oct 2023 20:10:59 +0600 Subject: [PATCH] EVEREST-511 u --- pkg/kubernetes/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubernetes/kubernetes.go b/pkg/kubernetes/kubernetes.go index aba21580..09534699 100644 --- a/pkg/kubernetes/kubernetes.go +++ b/pkg/kubernetes/kubernetes.go @@ -894,7 +894,7 @@ func (k *Kubernetes) RestartEverestOperator(ctx context.Context, namespace strin return false, nil } } - return pod.Status.Phase == corev1.PodRunning && pod.Status.ContainerStatuses[0].Ready, nil + return pod.Status.Phase == corev1.PodRunning && pod.Status.ContainerStatuses[0].Ready, nil //nolint:staticcheck } return false, errors.New("no pods to restart") })