Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
Signed-off-by: shuangkun <tsk2013uestc@163.com>
  • Loading branch information
shuangkun committed Apr 27, 2024
1 parent 3a9d764 commit 2ac9757
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1333,8 +1333,6 @@ func (woc *wfOperationCtx) assessNodeStatus(pod *apiv1.Pod, old *wfv1.NodeStatus
new.Phase = wfv1.NodeSucceeded
new.Daemoned = nil
case apiv1.PodFailed:
new.Phase, new.Message = woc.inferFailedReason(pod, tmpl)
woc.log.WithField("displayName", old.DisplayName).WithField("templateName", old.TemplateName).WithField("pod", pod.Name).Infof("Pod failed: %s", new.Message)
new.Daemoned = nil
case apiv1.PodRunning:
// Daemons are a special case we need to understand the rules:
Expand Down

0 comments on commit 2ac9757

Please sign in to comment.