From b513c0f49827ab62cf05e5993820ae9cd38353d0 Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Sat, 16 Mar 2019 18:00:37 -0700 Subject: [PATCH] [autoscaler] Restore error message for setup --- python/ray/autoscaler/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ray/autoscaler/updater.py b/python/ray/autoscaler/updater.py index 36aec9bf0..6cbcc761f 100644 --- a/python/ray/autoscaler/updater.py +++ b/python/ray/autoscaler/updater.py @@ -220,12 +220,12 @@ class NodeUpdater(object): m = "{}: Initialization commands completed".format(self.node_id) with LogTimer("NodeUpdater: {}".format(m)): for cmd in self.initialization_commands: - self.ssh_cmd(cmd, redirect=open("/dev/null", "w")) + self.ssh_cmd(cmd) m = "{}: Setup commands completed".format(self.node_id) with LogTimer("NodeUpdater: {}".format(m)): for cmd in self.setup_commands: - self.ssh_cmd(cmd, redirect=open("/dev/null", "w")) + self.ssh_cmd(cmd) def rsync_up(self, source, target, redirect=None, check_error=True): self.set_ssh_ip_if_required()