Skip to content

Commit 30bdaa8

Browse files
committed
pkg/payload/task_graph: "on" -> "on worker" logging
The old format is from cb4e037 (payload: Create a task graph that can split a payload into chunks, 2019-01-17, #88), but Abhinav points out that "on %d" could use a bit more context [1]. [1]: #264 (comment)
1 parent 7cb7909 commit 30bdaa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/payload/task_graph.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ func RunGraph(ctx context.Context, graph *TaskGraph, maxParallelism int, fn func
572572
klog.V(4).Infof("No more work for %d", job)
573573
return
574574
}
575-
klog.V(4).Infof("Running %d on %d", runTask.index, job)
575+
klog.V(4).Infof("Running %d on worker %d", runTask.index, job)
576576
err := fn(nestedCtx, runTask.tasks)
577577
completeCh <- taskStatus{index: runTask.index, success: err == nil}
578578
if err != nil {

0 commit comments

Comments
 (0)