Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ba72eb9968 | |||
39aa3ccb5a |
@ -8,8 +8,8 @@ import (
|
||||
|
||||
type providerKey struct{}
|
||||
|
||||
func Provider(opts ...tracesdk.TracerProvider) tracer.Option {
|
||||
return tracer.SetOption(providerKey{}, opts)
|
||||
func Provider(tp *tracesdk.TracerProvider) tracer.Option {
|
||||
return tracer.SetOption(providerKey{}, tp)
|
||||
}
|
||||
|
||||
type providerOptionsKey struct{}
|
||||
|
Loading…
Reference in New Issue
Block a user