mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-25 22:32:07 +00:00
chore(userspace/engine): fix typos
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
978f192c38
commit
c2a8efc329
@ -179,8 +179,8 @@ public:
|
|||||||
// is safe to assume that each invoker will pass a different event
|
// is safe to assume that each invoker will pass a different event
|
||||||
// to this method too, since two distinct sources cannot possibly produce
|
// to this method too, since two distinct sources cannot possibly produce
|
||||||
// the same event. Lastly, filterchecks and formatters (and their factories)
|
// the same event. Lastly, filterchecks and formatters (and their factories)
|
||||||
// that used to populate the conditions for a given event-source ruleset,
|
// that are used to populate the conditions for a given event-source
|
||||||
// must not be reused across rulesets of other event sources.
|
// ruleset must not be reused across rulesets of other event sources.
|
||||||
// These assumptions guarantee thread-safety because internally the engine
|
// These assumptions guarantee thread-safety because internally the engine
|
||||||
// is partitioned by event sources. However, each ruleset assigned to each
|
// is partitioned by event sources. However, each ruleset assigned to each
|
||||||
// event source is not thread-safe of its own, so invoking this method
|
// event source is not thread-safe of its own, so invoking this method
|
||||||
|
@ -84,7 +84,7 @@ void stats_manager::on_event(const falco_rule& rule)
|
|||||||
if (m_by_rule_id.size() <= rule.id
|
if (m_by_rule_id.size() <= rule.id
|
||||||
|| m_by_priority.size() <= (size_t) rule.priority)
|
|| m_by_priority.size() <= (size_t) rule.priority)
|
||||||
{
|
{
|
||||||
throw falco_exception("rule id or priority is out of boubnds");
|
throw falco_exception("rule id or priority out of bounds");
|
||||||
}
|
}
|
||||||
m_total.fetch_add(1, std::memory_order_relaxed);
|
m_total.fetch_add(1, std::memory_order_relaxed);
|
||||||
m_by_rule_id[rule.id]->fetch_add(1, std::memory_order_relaxed);
|
m_by_rule_id[rule.id]->fetch_add(1, std::memory_order_relaxed);
|
||||||
|
Loading…
Reference in New Issue
Block a user