Skip to content

Commit

Permalink
remove pool.mu.Unlock()
Browse files Browse the repository at this point in the history
  • Loading branch information
purnesh42H committed Dec 6, 2024
1 parent aa7e498 commit 2ab7ba2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xds/internal/xdsclient/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ func (p *Pool) NewClientForTesting(opts OptionsForTesting) (XDSClient, func(), e
if opts.Contents != nil {
config, err := bootstrap.NewConfigForTesting(opts.Contents)
if err != nil {
p.mu.Unlock()
return nil, nil, err
}

Check warning on line 102 in xds/internal/xdsclient/pool.go

View check run for this annotation

Codecov / codecov/patch

xds/internal/xdsclient/pool.go#L101-L102

Added lines #L101 - L102 were not covered by tests
return newRefCounted(opts.Name, p, config, opts.WatchExpiryTimeout, opts.IdleChannelExpiryTimeout, opts.StreamBackoffAfterFailure)
Expand Down

0 comments on commit 2ab7ba2

Please sign in to comment.