Fix PO expr whitelist (#2471)

This commit is contained in:
Laurence Jones 2023-09-19 12:51:03 +01:00 committed by GitHub
parent b2212f4225
commit 64deeab1ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,6 @@ func (n *Node) process(p *types.Event, ctx UnixParserCtx, expressionEnv map[stri
}
if out {
clog.Debugf("Event is whitelisted by expr, reason [%s]", n.Whitelist.Reason)
p.Whitelisted = true
isWhitelisted = true
}
hasWhitelist = true