Skip to content

Commit

Permalink
Update sdk/trace/provider.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
ijsong and MrAlias committed Mar 3, 2021
1 parent f90fd7e commit 665fcb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/trace/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func WithDefaultSampler(s Sampler) TracerProviderOption {
}
}

// WithSampler option registers a SpanLimits with the the TracerProvider.
// WithSpanLimits option registers a SpanLimits with the the TracerProvider.
func WithSpanLimits(sl SpanLimits) TracerProviderOption {
return func(opts *TracerProviderConfig) {
opts.config.SpanLimits = sl
Expand Down

0 comments on commit 665fcb0

Please sign in to comment.