[cli] make sure old-style works (#10344)

This commit is contained in:
Richard Liaw
2020-08-26 15:26:24 -07:00
committed by GitHub
parent 4b856fa416
commit 29e8a664c4
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -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
-2
View File
@@ -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,