mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
[cli] Support non-interactive logging (#10203)
* add non-interactive logging * logger * add formatter support, add flag * checkpoint * format * fix-interactive * fixup * fomrmat * fix * revert * fix * fix * fix * fix * fx * fix-test * fix-commands Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
co-authored by
Richard Liaw
parent
551c597312
commit
f38dba09b2
@@ -128,7 +128,8 @@ def create_or_update_cluster(config_file: str,
|
||||
cli_logger.newline()
|
||||
|
||||
def handle_yaml_error(e):
|
||||
cli_logger.error("Cluster config invalid\n")
|
||||
cli_logger.error("Cluster config invalid")
|
||||
cli_logger.newline()
|
||||
cli_logger.error("Failed to load YAML file " + cf.bold("{}"),
|
||||
config_file)
|
||||
cli_logger.newline()
|
||||
@@ -164,7 +165,7 @@ def create_or_update_cluster(config_file: str,
|
||||
raise NotImplementedError("Unsupported provider {}".format(
|
||||
config["provider"]))
|
||||
|
||||
cli_logger.success("Cluster configuration valid\n")
|
||||
cli_logger.success("Cluster configuration valid")
|
||||
|
||||
printed_overrides = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user