Skip to content

Commit

Permalink
[chore][internal/filterset] Remove outdated and incorrect comment (#3…
Browse files Browse the repository at this point in the history
…0259)

**Description:**
This comment was added with the original introduction of this component,
but the functionality it's referencing was removed shortly thereafter
(intentionally from what I can tell), and has no longer been in place
for 3+ years.

**Link to tracking Issue:** <Issue number if applicable>
Resolves #30178
  • Loading branch information
crobert-1 committed Jan 4, 2024
1 parent e3702b0 commit c16ecc5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/filter/filterset/regexp/regexpfilterset.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ func (rfs *FilterSet) Matches(toMatch string) bool {
}

// addFilters compiles all the given filters and stores them as regexes.
// All regexes are automatically anchored to enforce full string matches.
func (rfs *FilterSet) addFilters(filters []string) error {
dedup := make(map[string]struct{}, len(filters))
for _, f := range filters {
Expand Down

0 comments on commit c16ecc5

Please sign in to comment.