diff --git a/python/ray/autoscaler/cli_logger.py b/python/ray/autoscaler/cli_logger.py index 591d2fe90..b31f3a5b0 100644 --- a/python/ray/autoscaler/cli_logger.py +++ b/python/ray/autoscaler/cli_logger.py @@ -535,6 +535,7 @@ class _CliLogger(): The default action to take if the user just presses enter with no input. """ + if self.old_style: return diff --git a/python/ray/autoscaler/commands.py b/python/ray/autoscaler/commands.py index 16cbfa0c8..378e98748 100644 --- a/python/ray/autoscaler/commands.py +++ b/python/ray/autoscaler/commands.py @@ -195,8 +195,6 @@ def create_or_update_cluster(config_file: str, cli_logger.old_style = True cli_logger.newline() config = _bootstrap_config(config, no_config_cache=no_config_cache) - if config["provider"]["type"] != "aws": - cli_logger.old_style = False try_logging_config(config) get_or_create_head_node(config, config_file, no_restart, restart_only, yes,