Skip to content

Commit

Permalink
fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
ecezalp committed Jun 16, 2021
1 parent 8081fa0 commit 02056f3
Showing 1 changed file with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,18 +309,20 @@ export const signalRulesAlertType = ({
}
} else if (isEqlRule(type)) {
const eqlRuleSO = asTypeSpecificSO(savedObject, eqlRuleParams);
result = await eqlExecutor({
rule: eqlRuleSO,
tuple,
exceptionItems,
services,
version,
searchAfterSize,
bulkCreate,
logger,
wrapHits,
wrapSequences,
});
for (const tuple of tuples) {
result = await eqlExecutor({
rule: eqlRuleSO,
tuple,
exceptionItems,
services,
version,
searchAfterSize,
bulkCreate,
logger,
wrapHits,
wrapSequences,
});
}
} else {
throw new Error(`unknown rule type ${type}`);
}
Expand Down

0 comments on commit 02056f3

Please sign in to comment.