Skip to content

Commit

Permalink
Fix typo in memory error alert (#13287)
Browse files Browse the repository at this point in the history
Typo in kwarg passed to CrontabSchedule.
  • Loading branch information
anodos325 authored Mar 6, 2024
1 parent b8580e1 commit c473f3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/middlewared/middlewared/alert/source/memory_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MemorySizeMismatchAlertClass(AlertClass):


class MemoryErrorsAlertSource(AlertSource):
schedule = CrontabSchedule(hours=1) # every 24hrs
schedule = CrontabSchedule(hour=1) # every 24hrs

async def check(self):
alerts = []
Expand All @@ -47,7 +47,7 @@ async def check(self):


class MemorySizeMismatchAlertSource(AlertSource):
schedule = CrontabSchedule(hours=1) # every 24hrs
schedule = CrontabSchedule(hour=1) # every 24hrs
run_on_backup_node = False

async def check(self):
Expand Down

0 comments on commit c473f3e

Please sign in to comment.