-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: apply filters to alerts cache correctly (#2145)
The alerts cache was missing a step that's present in the V3 API which meant that filters were not being applied to the list of all alerts correctly producing the wrong results. This change adds a test suite to verify that filters work as expected and adds the additional step of expanding built matchers so partial matches are considered a match.
- Loading branch information
1 parent
08472a2
commit 7a94074
Showing
2 changed files
with
134 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters