mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 05:09:18 +08:00
[autoscaler] cache stopped nodes, no screen on attach (#5741)
This commit is contained in:
@@ -568,6 +568,8 @@ def monitor(cluster_config_file, lines, cluster_name):
|
||||
is_flag=True,
|
||||
default=False,
|
||||
help="Start the cluster if needed.")
|
||||
@click.option(
|
||||
"--screen", is_flag=True, default=False, help="Run the command in screen.")
|
||||
@click.option(
|
||||
"--tmux", is_flag=True, default=False, help="Run the command in tmux.")
|
||||
@click.option(
|
||||
@@ -578,8 +580,8 @@ def monitor(cluster_config_file, lines, cluster_name):
|
||||
help="Override the configured cluster name.")
|
||||
@click.option(
|
||||
"--new", "-N", is_flag=True, help="Force creation of a new screen.")
|
||||
def attach(cluster_config_file, start, tmux, cluster_name, new):
|
||||
attach_cluster(cluster_config_file, start, tmux, cluster_name, new)
|
||||
def attach(cluster_config_file, start, screen, tmux, cluster_name, new):
|
||||
attach_cluster(cluster_config_file, start, screen, tmux, cluster_name, new)
|
||||
|
||||
|
||||
@cli.command()
|
||||
|
||||
Reference in New Issue
Block a user