From 7e4e245d6954170b2d8158765509ed5a90e4712f Mon Sep 17 00:00:00 2001 From: isubasinghe Date: Tue, 31 Dec 2024 09:35:14 +1100 Subject: [PATCH] fix: removed redundant return Signed-off-by: isubasinghe --- workflow/sync/multi_throttler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/sync/multi_throttler.go b/workflow/sync/multi_throttler.go index 0e8ee56fa034..bd18a672f38a 100644 --- a/workflow/sync/multi_throttler.go +++ b/workflow/sync/multi_throttler.go @@ -5,8 +5,9 @@ import ( "sync" "time" - wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" "k8s.io/client-go/tools/cache" + + wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" ) //go:generate mockery --name=Throttler @@ -180,7 +181,6 @@ func (m *multiThrottler) queueThrottled() { m.running[bestItem.key] = true m.queue(bestItem.key) } - return } type item struct {