Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
o-mago committed Feb 14, 2025
1 parent e9ba83a commit 8b120ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kgo/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ func WithLogger(l Logger) Opt {
return clientOpt{func(cfg *cfg) { cfg.logger = &wrappedLogger{l} }}
}

// WithContext sets the client to use the a custom context.
// WithContext sets the client to use a custom context.
//
// By default the client uses context.Background.
// By default, the client uses context.Background.
func WithContext(ctx context.Context) Opt {
return clientOpt{func(cfg *cfg) { cfg.ctx = ctx }}
}
Expand Down

0 comments on commit 8b120ca

Please sign in to comment.