Skip to content

Commit 1a4297f

Browse files
committed
fix: add missing signal handler arguments in gpu health monitor
the signal handler was missing signum and frame parameters which caused a TypeError when shutting down the pod fixes #365 Signed-off-by: Gyan172004 <[email protected]>
1 parent fb4bd6a commit 1a4297f

File tree

1 file changed

+1
-1
lines changed
  • health-monitors/gpu-health-monitor/gpu_health_monitor

1 file changed

+1
-1
lines changed

health-monitors/gpu-health-monitor/gpu_health_monitor/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def cli(
128128

129129
prom_server, t = start_http_server(port)
130130

131-
def process_exit_signal():
131+
def process_exit_signal(signum, frame):
132132
exit.set()
133133
prom_server.shutdown()
134134
t.join()

0 commit comments

Comments
 (0)