Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a typo in the java-cloud example and add one TODO related to the migration invoca...
[simgrid.git] / examples / java / cloud / Master.java
index 57806fd..2cb86b5 100644 (file)
@@ -73,7 +73,7 @@ public class Master extends Process {
                Msg.info("Migrate everyone to "+hosts[3].getName());
                for (int i = 0; i < vms.size(); i++) {
                        Msg.info("Migrate "+vms.get(i).getName()+"from"+hosts[i+1].getName()+"to "+hosts[3].getName());
-                       vms.get(i).migrate(hosts[2]);
+                       vms.get(i).migrate(hosts[3]);
                }