Skip to content

Commit

Permalink
added nodeName as a field
Browse files Browse the repository at this point in the history
  • Loading branch information
isubasinghe committed May 21, 2024
1 parent 63422d4 commit d0058e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workflow/controller/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,10 @@ func (woc *wfOperationCtx) executeDAG(ctx context.Context, nodeName string, tmpl

hook := &NanoSecondHook{}

log := woc.log.WithField("workflow", woc.wf.Name)

myCount := globalExecDAGCount.Load()

log := woc.log.WithField("workflow", woc.wf.Name)
log = log.WithField("DAGExecNum", myCount)
log = log.WithField("nodeName", nodeName)

dagCtx := &dagContext{
boundaryName: nodeName,
Expand Down

0 comments on commit d0058e2

Please sign in to comment.