From 77e0d2b4a39ce77cdae228d5ddd46d10f19f1a72 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 13 Dec 2024 19:03:33 -0500 Subject: [PATCH] Removed all refrences to state file --- hwmonDaemon.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/hwmonDaemon.py b/hwmonDaemon.py index fec9ed5..f98f622 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -69,11 +69,9 @@ class SystemHealthMonitor: Initialize the system health monitor. :param ticket_api_url: URL for the ticket creation API. - :param state_file: File path to track the last health check results. :param dry_run: If True, simulate API calls without sending requests. """ self.ticket_api_url = ticket_api_url - self.state_file = state_file self.dry_run = dry_run def run(self): @@ -610,7 +608,6 @@ def main(): # Instantiate the SystemHealthMonitor class monitor = SystemHealthMonitor( ticket_api_url=SystemHealthMonitor.CONFIG['TICKET_API_URL'], - state_file=SystemHealthMonitor.CONFIG['STATE_FILE'], dry_run=args.dry_run )