Skip to content

Commit

Permalink
fix: removed redundant return
Browse files Browse the repository at this point in the history
Signed-off-by: isubasinghe <[email protected]>
  • Loading branch information
isubasinghe committed Dec 30, 2024
1 parent 9f6bb24 commit 7e4e245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/sync/multi_throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -180,7 +181,6 @@ func (m *multiThrottler) queueThrottled() {
m.running[bestItem.key] = true
m.queue(bestItem.key)
}
return
}

type item struct {
Expand Down

0 comments on commit 7e4e245

Please sign in to comment.