From 78fdcf6cb533724dab72c6134a999bdb7418635c Mon Sep 17 00:00:00 2001 From: Chris McKenzie Date: Thu, 16 Jan 2025 13:10:02 -0800 Subject: [PATCH] autostoped => autostopped --- sky/backends/backend_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sky/backends/backend_utils.py b/sky/backends/backend_utils.py index ba28e1fe990..7385c7cb9fc 100644 --- a/sky/backends/backend_utils.py +++ b/sky/backends/backend_utils.py @@ -2137,7 +2137,8 @@ def run_ray_status_to_check_ray_cluster_healthy() -> bool: except exceptions.CommandError as e: success = False if e.returncode == 255: - logger.debug(f'The cluster is likely {noun}ed.') + word = 'autostopped' if noun == 'autostop' else 'autodowned' + logger.debug(f'The cluster is likely {word}.') reset_local_autostop = False except (Exception, SystemExit) as e: # pylint: disable=broad-except success = False