From 067c5a3334bce6183d10859d485fd16de01b50ff Mon Sep 17 00:00:00 2001 From: Linlang <30293408+SunsetWolf@users.noreply.github.com> Date: Wed, 23 Jul 2025 12:29:09 +0800 Subject: [PATCH] fix health check bug (#1111) --- rdagent/app/utils/health_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdagent/app/utils/health_check.py b/rdagent/app/utils/health_check.py index fa45a529..d0b2892b 100644 --- a/rdagent/app/utils/health_check.py +++ b/rdagent/app/utils/health_check.py @@ -13,7 +13,7 @@ from rdagent.log import rdagent_logger as logger from rdagent.utils.env import cleanup_container -def check_docker() -> None: +def check_docker_status() -> None: container = None try: client = docker.from_env() @@ -157,7 +157,7 @@ def health_check( env_check() if check_docker: check_any = True - check_docker() + check_docker_status() if check_ports: check_any = True check_and_list_free_ports()