diff --git a/core/trace/tracer.go b/core/trace/tracer.go index 109c1ba2..8d5fed62 100644 --- a/core/trace/tracer.go +++ b/core/trace/tracer.go @@ -10,7 +10,7 @@ import ( ) // assert that metadataSupplier implements the TextMapCarrier interface -var _ propagation.TextMapCarrier = new(metadataSupplier) +var _ propagation.TextMapCarrier = (*metadataSupplier)(nil) type metadataSupplier struct { metadata *metadata.MD