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