Clarify pipeline usage.

This commit is contained in:
Michael Lipp 2025-03-20 18:02:14 +01:00
parent 16a15bc9ad
commit 359b1fdb84
3 changed files with 14 additions and 16 deletions

View file

@ -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;
}
}