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 8218c6d commit 98fcea6
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 @@ -247,7 +247,7 @@ func WithIDGenerator(g IDGenerator) TracerProviderOption {
}
}

// WithSampler option registers a DefaultSampler with the the TracerProvider.
// WithDefaultSampler option registers a DefaultSampler with the the TracerProvider.
func WithDefaultSampler(s Sampler) TracerProviderOption {
return func(opts *TracerProviderConfig) {
opts.config.DefaultSampler = s
Expand Down

0 comments on commit 98fcea6

Please sign in to comment.