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 authored Mar 3, 2021
1 parent 98fcea6 commit 62a661b
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 @@ -254,7 +254,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 62a661b

Please sign in to comment.