[autoscaler] Restore error message for setup

This commit is contained in:
Eric Liang
2019-03-16 18:00:37 -07:00
committed by GitHub
parent 5e95abe63e
commit b513c0f498
+2 -2
View File
@@ -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()