Skip to content

Commit

Permalink
Update DynamicRuleMerger.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
khemrajrathore authored Aug 28, 2024
1 parent 15381ff commit 3770ffe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ trait DynamicRuleMerger {
try {

val internalRuleMap = mutable.Map(
internalSinkRules
.filter(rule => rule.domains.nonEmpty && rule.name.nonEmpty)
.map(rule => ((rule.domains.headOption.get, rule.name, rule.filterProperty), rule)): _*
internalSinkRules.map(rule => ((rule.domains.headOption.get, rule.name, rule.filterProperty), rule))*
)

externalSinkRules.foreach { externalRule =>
Expand Down

0 comments on commit 3770ffe

Please sign in to comment.