diff --git a/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java b/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java index aa01272f8c..b40668c9c8 100644 --- a/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java +++ b/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java @@ -214,8 +214,8 @@ public class IsoToIMachine implements Function { lockSessionOnMachineAndApply(manager, Shared, vmName, new Function() { @Override - public Void apply(ISession arg0) { - IProgress powerDownProgress = arg0.getConsole().powerDown(); + public Void apply(ISession session) { + IProgress powerDownProgress = session.getConsole().powerDown(); powerDownProgress.waitForCompletion(-1); return null; }