Commit 56e975c0 authored by Marcos Nobrega's avatar Marcos Nobrega
Browse files

Fixed wakeUpHost to use the host mac address

parent 7cd9e96c
......@@ -192,7 +192,7 @@ public class DefaultGreenStrategy implements GreenStrategy {
return;
}
if (host.getAvailableRAM() >= minRAM) {
this.scc.wakeUpHost(host.getName());
this.scc.wakeUpHost(host.getMacAddress());
this.sleepingHosts.remove(host);
LOGGER.info("Waked " + host);
}
......@@ -219,4 +219,4 @@ public class DefaultGreenStrategy implements GreenStrategy {
}
}, 0, 1, TimeUnit.MINUTES);
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment