diff --git a/worker/server/pod.go b/worker/server/pod.go index 89134bbf6..0c37d451b 100644 --- a/worker/server/pod.go +++ b/worker/server/pod.go @@ -162,7 +162,7 @@ func describeStatus(state corev1.ContainerState, podContainer *pb.PodContainer) case state.Terminated != nil: podContainer.State = "Terminated" if state.Terminated.Reason != "" { - podContainer.Reason = state.Waiting.Reason + podContainer.Reason = state.Terminated.Reason } default: podContainer.State = "Waiting"