Fix bug in RemotesCommand class

(cherry picked from commit 55596e2c41)
This commit is contained in:
Daniel Molina committed 2010-11-29 19:04:51 +01:00
1 parent 2f57cb6647
commit 2b1f217033
1 file changed
+2 -2
+2 -2
View File
@@ -160,7 +160,7 @@ class RemotesCommand < SSHCommand
cmd.run
if cmd.code == MAGIC_RC
self.update_remotes(host, remote_dir, logger)
cmd.update_remotes(host, remote_dir, logger)
@command = command
cmd.run
@@ -169,7 +169,7 @@ class RemotesCommand < SSHCommand
cmd
end
def self.update_remotes(host, remote_dir, logger=nil)
def update_remotes(host, remote_dir, logger=nil)
log("Remote worker node files not found")
log("Updating remotes")