We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e2aab1 + d02beab commit cbb07adCopy full SHA for cbb07ad
pkg/logs/logs.go
@@ -47,7 +47,7 @@ func (l *Logs) Run(jobID types.UID, namespace string, follow bool, timestamps bo
47
}
48
49
pod := &pl.Items[0]
50
- if pod.Status.Phase == corev1.PodSucceeded || pod.Status.Phase == corev1.PodFailed {
+ if pod.Status.Phase == corev1.PodFailed {
51
return fmt.Errorf(podPhaseNotAcceptedError, pod.Status.Phase)
52
53
0 commit comments