Skip to content

Commit

Permalink
only one of the required labels must be present
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Stettler <[email protected]>
  • Loading branch information
replay committed Aug 2, 2024
1 parent 44afd57 commit 584cc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/labeler/labeler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestAssigningLabel(t *testing.T) {
{
name: "assign the mimir-query label",
cfg: Config{
RequireLabel: []string{"label1"},
RequireLabel: []string{"label1", "label3"},
Labels: map[string]Label{
"mimir-ingest": {
Matchers: []Matcher{
Expand Down

0 comments on commit 584cc52

Please sign in to comment.