diff --git a/workflow/controller/controller_test.go b/workflow/controller/controller_test.go index 8036bf4f85bf..be053327ecf0 100644 --- a/workflow/controller/controller_test.go +++ b/workflow/controller/controller_test.go @@ -281,9 +281,7 @@ func withAnnotation(key, val string) with { // createRunningPods creates the pods that are marked as running in a given test so that they can be accessed by the // pod assessor -// This function is called `createRunningPods`, but since it is currently not used and should not be removed it has been -// renamed to `_` until a use is found. -func _(ctx context.Context, woc *wfOperationCtx) { +func createRunningPods(ctx context.Context, woc *wfOperationCtx) { podcs := woc.controller.kubeclientset.CoreV1().Pods(woc.wf.GetNamespace()) for _, node := range woc.wf.Status.Nodes { if node.Type == wfv1.NodeTypePod && node.Phase == wfv1.NodeRunning {