Skip to content

Commit fe50505

Browse files
committed
resolved unit test error
1 parent a571cf6 commit fe50505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/inst-api/instrumenter/span_supressor.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ func NewSpanKindSuppressor() *SpanKindSuppressor {
7878
}
7979
}
8080

81-
func (s SpanKindSuppressor) StoreInContext(context context.Context, spanKind trace.SpanKind, span trace.Span) context.Context {
81+
func (s *SpanKindSuppressor) StoreInContext(context context.Context, spanKind trace.SpanKind, span trace.Span) context.Context {
8282
spanSuppressor, exists := s.delegates[spanKind]
8383
if !exists {
8484
return context
8585
}
8686
return spanSuppressor.StoreInContext(context, spanKind, span)
8787
}
8888

89-
func (s SpanKindSuppressor) ShouldSuppress(parentContext context.Context, spanKind trace.SpanKind) bool {
89+
func (s *SpanKindSuppressor) ShouldSuppress(parentContext context.Context, spanKind trace.SpanKind) bool {
9090
spanSuppressor, exists := s.delegates[spanKind]
9191
if !exists {
9292
return false

0 commit comments

Comments
 (0)