mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 23:25:54 +08:00
[cli] make sure old-style works (#10344)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user