Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Dec 13, 2023
1 parent 14ecbd9 commit 54f8ec3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flytepropeller/pkg/apis/flyteworkflow/v1alpha1/node_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,13 @@ func (in *NodeStatus) UpdatePhase(p NodePhase, occurredAt metav1.Time, reason st
in.SubNodeStatus = nil
in.TaskNodeStatus = nil
in.WorkflowNodeStatus = nil
} else {
if in.StartedAt == nil {
in.StartedAt = &n
}
if in.LastAttemptStartedAt == nil {
in.LastAttemptStartedAt = &n
}
}
}
in.SetDirty()
Expand Down

0 comments on commit 54f8ec3

Please sign in to comment.