Skip to content

Commit

Permalink
Merge pull request #1445 from d0m84/patch-2
Browse files Browse the repository at this point in the history
Fix spelling mistake in crowdsec plugin
  • Loading branch information
kenyon authored Jul 26, 2024
2 parents a09fead + 38c8a8f commit bf9a4e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/security/crowdsec
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class Decisions():
print(f'{name}.value {v}')


class Aquisitions():
class Acquisitions():
def __init__(self):
# requires crowdsec >= 1.5.3
try:
Expand All @@ -185,8 +185,8 @@ class Aquisitions():
def config(self):
if len(self.data) > 0:
print(dedent("""
multigraph aquisitions
graph_title CrowdSec Aquisitions
multigraph acquisitions
graph_title CrowdSec Acquisitions
graph_args --base 1000 --lower-limit 0
graph_vlabel Lines per ${graph_period}
graph_category security
Expand All @@ -209,7 +209,7 @@ class Aquisitions():
if type in self.data['acquisition'][source]:
r[type] += self.data['acquisition'][source][type]
print(dedent(f"""
multigraph aquisitions
multigraph acquisitions
reads.value {r['reads']}
unparsed.value {r['unparsed']}
parsed.value {r['parsed']}
Expand All @@ -222,8 +222,8 @@ if __name__ == "__main__":
elif len(sys.argv) == 2 and sys.argv[1] == 'config':
state = State()
Decisions().config()
Aquisitions().config()
Acquisitions().config()
else:
state = State()
Decisions().current()
Aquisitions().current()
Acquisitions().current()

0 comments on commit bf9a4e4

Please sign in to comment.