From ccf81ecee57b35b0b82f0f910f4358d7a45e2ee7 Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Mon, 12 Feb 2024 19:11:57 -0600 Subject: [PATCH] lint --- lib/harmony/harmonytask/harmonytask.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/harmony/harmonytask/harmonytask.go b/lib/harmony/harmonytask/harmonytask.go index 4f5daa963..0c66891d0 100644 --- a/lib/harmony/harmonytask/harmonytask.go +++ b/lib/harmony/harmonytask/harmonytask.go @@ -346,6 +346,7 @@ func (e *TaskEngine) pollerTryAllWork() bool { } // if no work was accepted, are we bored? Then find work in priority order. for _, v := range e.handlers { + v := v if v.AssertMachineHasCapacity() != nil { continue }