From 4ce4be5c549fbd7bb53f2e1fdd6c691d7823ec2c Mon Sep 17 00:00:00 2001 From: Ian Rodney Date: Tue, 30 Jun 2020 16:00:28 -0700 Subject: [PATCH] Show actual command in output (#9224) --- python/ray/autoscaler/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/autoscaler/updater.py b/python/ray/autoscaler/updater.py index 049ab3e45..467ca3b44 100644 --- a/python/ray/autoscaler/updater.py +++ b/python/ray/autoscaler/updater.py @@ -259,9 +259,9 @@ class SSHCommandRunner: "{}@{}".format(self.ssh_user, self.ssh_ip) ] if cmd: + final_cmd += with_interactive(cmd) logger.info(self.log_prefix + "Running {}".format(" ".join(final_cmd))) - final_cmd += with_interactive(cmd) else: # We do this because `-o ControlMaster` causes the `-N` flag to # still create an interactive shell in some ssh versions.