fix Provider option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
63c1a3f324
commit
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…
x
Reference in New Issue
Block a user