Skip to content

Commit 06a12cc

Browse files
codebotenMrAlias
andauthored
Update otelconf/metric.go
Co-authored-by: Tyler Yahn <[email protected]>
1 parent a7cca92 commit 06a12cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

otelconf/metric.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ func newIncludeExcludeFilter(lists *IncludeExclude) (attribute.Filter, error) {
335335
return false
336336
}
337337

338-
if len(included) == 0 {
339-
return true
340-
}
341-
342338
_, ok := included[kv.Key]
343339
return ok
344340
}, nil

0 commit comments

Comments
 (0)