Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into mc
[simgrid.git] / examples / java / cloud / Master.java
index 2cb86b5..d3606c9 100644 (file)
@@ -34,7 +34,7 @@ public class Master extends Process {
                        vm.start();
                        vms.add(vm);
                        Slave slave = new Slave(vm,i);
-                       Msg.info("Put Worker "+slave.msgName()+ " on "+vm.getName());
+                       Msg.info("Put Worker "+slave.getName()+ " on "+vm.getName());
                        slave.start();
        
                }
@@ -81,7 +81,6 @@ public class Master extends Process {
                
                for (int i = 0; i < vms.size(); i++) {
                        vms.get(i).shutdown();
-                       vms.get(i).destroy();
                }                               
                Msg.info("Master done.");
        }