Skip to content

Commit

Permalink
rollback code
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Golov committed Oct 25, 2024
1 parent da0f282 commit b895142
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions with.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ func (d *Driver) with(ctx context.Context, opts ...Option) (*Driver, uint64, err
append(
append(
d.opts,
WithBalancer(
d.config.Balancer(),
),
withOnClose(func(child *Driver) {
d.childrenMtx.Lock()
defer d.childrenMtx.Unlock()
Expand Down

0 comments on commit b895142

Please sign in to comment.