Skip to content

Commit

Permalink
remove unused definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Jul 11, 2023
1 parent f1ef5e2 commit 6bac855
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/circuitbreaker/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ func (bm *breakerManager) Do(ctx context.Context, key string, fn func(ctx contex
mu.Unlock()
}()

var br *breaker
// Pre-loading to prevent a lot of object generation.
br, ok := bm.m.Load(key)
if !ok {
Expand Down

0 comments on commit 6bac855

Please sign in to comment.