1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

bug #412: RemoteCommand update

This commit is contained in:
Ruben S. Montero 2010-11-19 15:05:49 +01:00
parent c4dbdf53ef
commit 52974fe883

View File

@ -159,14 +159,14 @@ class RemotesCommand < SSHCommand
cmd = super(cmd_string, host, logger, stdin)
if cmd.code == MAGIC_RC
cmd.update_remotes(host, remote_dir, logger)
RemotesCommand::update_remotes(host, remote_dir, logger)
cmd = super(command, host, logger, stdin)
end
cmd
end
def update_remotes(host, remote_dir, logger=nil)
def self.update_remotes(host, remote_dir, logger=nil)
log("Remote worker node files not found")
log("Updating remotes")