summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-failure
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-compute/opendc-compute-failure')
-rw-r--r--opendc-compute/opendc-compute-failure/src/main/kotlin/org/opendc/compute/failure/hostfault/StartStopHostFault.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-compute/opendc-compute-failure/src/main/kotlin/org/opendc/compute/failure/hostfault/StartStopHostFault.kt b/opendc-compute/opendc-compute-failure/src/main/kotlin/org/opendc/compute/failure/hostfault/StartStopHostFault.kt
index 8d167322..5738b014 100644
--- a/opendc-compute/opendc-compute-failure/src/main/kotlin/org/opendc/compute/failure/hostfault/StartStopHostFault.kt
+++ b/opendc-compute/opendc-compute-failure/src/main/kotlin/org/opendc/compute/failure/hostfault/StartStopHostFault.kt
@@ -41,7 +41,7 @@ public class StartStopHostFault(
for (host in victims) {
val guests = host.getGuests()
- val snapshots = guests.map { it.virtualMachine!!.getSnapshot() }
+ val snapshots = guests.map { it.virtualMachine!!.snapshot }
val tasks = guests.map { it.task }
host.fail()