From f1173d55e051467aa0ec4fccc2f7ff3bbe06add0 Mon Sep 17 00:00:00 2001 From: Ian Rodney Date: Thu, 2 Jul 2020 09:34:50 -0700 Subject: [PATCH] [autoscaler] Fix cluster_shutdown using wrong args (#9252) --- python/ray/autoscaler/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/autoscaler/commands.py b/python/ray/autoscaler/commands.py index 0c70c1368..a0bb077f8 100644 --- a/python/ray/autoscaler/commands.py +++ b/python/ray/autoscaler/commands.py @@ -137,7 +137,7 @@ def teardown_cluster(config_file, yes, workers_only, override_cluster_name, if not workers_only: try: - exec_cluster(config_file, "ray stop", False, False, False, False, + exec_cluster(config_file, "ray stop", "auto", False, False, False, False, override_cluster_name, None, False) except Exception: logger.exception("Ignoring error attempting a clean shutdown.")