Clarify pipeline usage.
This commit is contained in:
parent
16a15bc9ad
commit
359b1fdb84
3 changed files with 14 additions and 16 deletions
|
|
@ -310,8 +310,7 @@ public class VmMonitor extends
|
|||
event.setResult(new VmData(vmDef, chosenVm));
|
||||
|
||||
// Make sure that a newly assigned VM is running.
|
||||
chosenVm.pipeline().fire(new ModifyVm(vmDef.name(),
|
||||
"state", "Running", chosenVm));
|
||||
chosenVm.fire(new ModifyVm(vmDef.name(), "state", "Running"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue