Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k committed Oct 19, 2023
1 parent b305437 commit cdf4156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
Expand Down

0 comments on commit cdf4156

Please sign in to comment.