Skip to content

Commit

Permalink
chore(userspace/engine): fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce committed Jun 23, 2022
1 parent a2cbc75 commit ff30d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions userspace/engine/falco_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ class falco_engine
// is safe to assume that each invoker will pass a different event
// to this method too, since two distinct sources cannot possibly produce
// the same event. Lastly, filterchecks and formatters (and their factories)
// that used to populate the conditions for a given event-source ruleset,
// must not be reused across rulesets of other event sources.
// that are used to populate the conditions for a given event-source
// ruleset must not be reused across rulesets of other event sources.
// These assumptions guarantee thread-safety because internally the engine
// is partitioned by event sources. However, each ruleset assigned to each
// event source is not thread-safe of its own, so invoking this method
Expand Down
2 changes: 1 addition & 1 deletion userspace/engine/stats_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void stats_manager::on_event(const falco_rule& rule)
if (m_by_rule_id.size() <= rule.id
|| 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_by_rule_id[rule.id]->fetch_add(1, std::memory_order_relaxed);
Expand Down

0 comments on commit ff30d60

Please sign in to comment.