mirror of https://github.com/apache/jclouds.git
Renamed variables.
This commit is contained in:
parent
54c76515ce
commit
f2d4c58a6a
|
@ -39,10 +39,10 @@ public class AddIDEControllerIfNotExists implements Function<IMachine, Void> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Void apply(IMachine arg0) {
|
||||
public Void apply(IMachine machine) {
|
||||
try {
|
||||
arg0.addStorageController(controllerName, StorageBus.IDE);
|
||||
arg0.saveSettings();
|
||||
machine.addStorageController(controllerName, StorageBus.IDE);
|
||||
machine.saveSettings();
|
||||
} catch (VBoxException e) {
|
||||
if (e.getMessage().indexOf("already exists") == -1)
|
||||
throw e;
|
||||
|
|
Loading…
Reference in New Issue