Skip to content

Commit

Permalink
fix: use podname in failure podName instead of ID. Fixes #10124 (#10268)
Browse files Browse the repository at this point in the history
Signed-off-by: Isitha Subasinghe <isitha@pipekit.io>
  • Loading branch information
isubasinghe committed Jan 5, 2023
1 parent 914a366 commit 2607867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (woc *wfOperationCtx) operate(ctx context.Context) {
Message: node.Message,
TemplateName: node.TemplateName,
Phase: string(node.Phase),
PodName: node.ID,
PodName: wfutil.GeneratePodName(woc.wf.Name, node.Name, node.TemplateName, node.ID, wfutil.GetPodNameVersion()),
FinishedAt: node.FinishedAt,
})
}
Expand Down

0 comments on commit 2607867

Please sign in to comment.