From 10bdebf35de45ca492fb9fe11176e77066bc79de Mon Sep 17 00:00:00 2001 From: John Date: Tue, 7 Dec 2021 22:09:53 -0800 Subject: [PATCH] Fixing lint error Signed-off-by: John --- internal/coreinternal/processor/filterspan/filterspan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/coreinternal/processor/filterspan/filterspan.go b/internal/coreinternal/processor/filterspan/filterspan.go index 3c283494e1c9..9737c54e2813 100644 --- a/internal/coreinternal/processor/filterspan/filterspan.go +++ b/internal/coreinternal/processor/filterspan/filterspan.go @@ -114,7 +114,7 @@ func (mp *propertiesMatcher) MatchSpan(span pdata.Span, resource pdata.Resource, // Check resource and spans for service.name serviceName, found := serviceNameForResource(resource) if !found { - serviceName, found = serviceNameForSpan(span) + serviceName, _ = serviceNameForSpan(span) } if !mp.serviceFilters.Matches(serviceName) { return false