Skip to content

Commit 5f58001

Browse files
committed
update
Signed-off-by: Coleen Iona Quadros <[email protected]>
1 parent 36dbfe6 commit 5f58001

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inhibit/inhibit.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ func (ih *Inhibitor) Mutes(lset model.LabelSet) bool {
195195
if inhibitedByFP, eq := source.hasEqual(lset, source.SrcMatchers.Matches(lset), ruleStart, r.TargetMatchers); eq && !source.foundMatch {
196196
inhibitorIDs = append(inhibitorIDs, inhibitedByFP.String())
197197
source.foundMatch = true
198+
} else {
199+
break
198200
}
199201
}
200202
if allSourcesMatched := r.allSourcesSatisfied(); allSourcesMatched {

0 commit comments

Comments
 (0)