[autoscaler] cache stopped nodes, no screen on attach (#5741)

This commit is contained in:
Eric Liang
2019-09-22 17:30:35 -07:00
committed by GitHub
parent 5f5873b182
commit 56ab9a00bb
5 changed files with 159 additions and 39 deletions
+4 -2
View File
@@ -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()