[autoscaler/docker] Relax missing docker section (#9105)

This commit is contained in:
Ian Rodney
2020-06-24 12:35:42 -07:00
committed by GitHub
parent 0487c250e8
commit 67e049bc7b
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -152,7 +152,7 @@ def kill_node(config_file, yes, hard, override_cluster_name):
setup_commands=[],
ray_start_commands=[],
runtime_hash="",
docker_config=config["docker"])
docker_config=config.get("docker"))
_exec(updater, "ray stop", False, False)
@@ -291,7 +291,7 @@ def get_or_create_head_node(config, config_file, no_restart, restart_only, yes,
setup_commands=init_commands,
ray_start_commands=ray_start_commands,
runtime_hash=runtime_hash,
docker_config=config["docker"])
docker_config=config.get("docker"))
updater.start()
updater.join()
@@ -412,7 +412,7 @@ def exec_cluster(config_file,
setup_commands=[],
ray_start_commands=[],
runtime_hash="",
docker_config=config["docker"])
docker_config=config.get("docker"))
def wrap_docker(command):
container_name = config["docker"]["container_name"]
@@ -534,7 +534,7 @@ def rsync(config_file,
setup_commands=[],
ray_start_commands=[],
runtime_hash="",
docker_config=config["docker"])
docker_config=config.get("docker"))
if down:
rsync = updater.rsync_down
else: