@ -13,8 +13,8 @@ import (
semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
)
func WithServiceName(name string) func(*Option) error {
return func(o *Option) error {
func WithServiceName(name string) func(context.Context, *Option) error {
return func(_ context.Context, o *Option) error {
o.serviceName = name
return nil