Skip to content

Commit

Permalink
fix: use podname in failure podName instead of ID. Fixes argoproj#10124
Browse files Browse the repository at this point in the history
… (argoproj#10268)

Signed-off-by: Isitha Subasinghe <isitha@pipekit.io>
Signed-off-by: Rajshekar Reddy <reddymh@gmail.com>
  • Loading branch information
isubasinghe authored and reddymh committed Jan 31, 2023
1 parent c78be2d commit 166a6d3
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 166a6d3

Please sign in to comment.