filter: correctly stop pattern validation on first invalid part (#21812)

This commit is contained in:
Michael Eischer 2026-05-20 22:42:26 +02:00 committed by GitHub
parent a639b8d711
commit ccfb31b5fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,7 +243,7 @@ func ValidatePatterns(patterns []string) error {
invalidPatterns = append(invalidPatterns, Pattern.original)
// If a single part is invalid, stop processing this pattern
continue
break
}
}
}