Compare commits
No commits in common. "v3" and "v3.0.1" have entirely different histories.
@ -8,8 +8,8 @@ import (
|
||||
|
||||
type providerKey struct{}
|
||||
|
||||
func Provider(tp *tracesdk.TracerProvider) tracer.Option {
|
||||
return tracer.SetOption(providerKey{}, tp)
|
||||
func Provider(opts ...tracesdk.TracerProvider) tracer.Option {
|
||||
return tracer.SetOption(providerKey{}, opts)
|
||||
}
|
||||
|
||||
type providerOptionsKey struct{}
|
||||
|
Loading…
Reference in New Issue
Block a user