We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 446b1d5 + 3d301f4 commit 09dc6b5Copy full SHA for 09dc6b5
pkg/collect/run.go
@@ -90,7 +90,7 @@ func runWithoutTimeout(ctx context.Context, c *Collector, pod *corev1.Pod, runCo
90
}
91
if status.Status.Phase == corev1.PodPending {
92
for _, v := range status.Status.ContainerStatuses {
93
- if v.State.Waiting.Reason == "ImagePullBackOff" {
+ if v.State.Waiting != nil && v.State.Waiting.Reason == "ImagePullBackOff" {
94
return nil, errors.Errorf("run pod aborted after getting pod status 'ImagePullBackOff'")
95
96
0 commit comments