Skip to content

Commit fc55dc4

Browse files
authored
fix workflow pending (#3126)
1 parent 94c234f commit fc55dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/workflow/argo/workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func isPodFailed(pod *corev1.Pod) bool {
4545
}
4646

4747
func isWorkflowPending(wf *wfv1.Workflow) bool {
48-
return wf.Status.Phase == wfv1.NodePending
48+
return wf.Status.Phase == wfv1.NodePending || wf.Status.Phase == ""
4949
}
5050

5151
func getPodNameByStepGroup(wf *wfv1.Workflow, stepGroupName string) (string, error) {

0 commit comments

Comments
 (0)