mirror of
https://github.com/wassname/ray.git
synced 2026-08-09 12:20:09 +08:00
[cli] Fix colors on light themes (#10577)
This commit is contained in:
@@ -379,7 +379,7 @@ class AWSNodeProvider(NodeProvider):
|
||||
if node.spot_instance_request_id:
|
||||
cli_logger.print(
|
||||
"Terminating instance {} " +
|
||||
cf.gray("(cannot stop spot instances, only terminate)"),
|
||||
cf.dimmed("(cannot stop spot instances, only terminate)"),
|
||||
node_id) # todo: show node name?
|
||||
|
||||
cli_logger.old_info(
|
||||
@@ -388,7 +388,7 @@ class AWSNodeProvider(NodeProvider):
|
||||
"be stopped, only terminated)", node_id)
|
||||
node.terminate()
|
||||
else:
|
||||
cli_logger.print("Stopping instance {} " + cf.gray(
|
||||
cli_logger.print("Stopping instance {} " + cf.dimmed(
|
||||
"(to terminate instead, "
|
||||
"set `cache_stopped_nodes: False` "
|
||||
"under `provider` in the cluster configuration)"),
|
||||
@@ -422,7 +422,7 @@ class AWSNodeProvider(NodeProvider):
|
||||
if on_demand_ids:
|
||||
# todo: show node names?
|
||||
cli_logger.print(
|
||||
"Stopping instances {} " + cf.gray(
|
||||
"Stopping instances {} " + cf.dimmed(
|
||||
"(to terminate instead, "
|
||||
"set `cache_stopped_nodes: False` "
|
||||
"under `provider` in the cluster configuration)"),
|
||||
@@ -437,7 +437,7 @@ class AWSNodeProvider(NodeProvider):
|
||||
if spot_ids:
|
||||
cli_logger.print(
|
||||
"Terminating instances {} " +
|
||||
cf.gray("(cannot stop spot instances, only terminate)"),
|
||||
cf.dimmed("(cannot stop spot instances, only terminate)"),
|
||||
cli_logger.render_list(spot_ids))
|
||||
cli_logger.old_info(
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user