diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-03-02 21:20:41 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-03-07 16:13:15 +0100 |
| commit | 2ba5fc1247472d026f10ad5cf738dcb7e078a9ee (patch) | |
| tree | 11766c4f46938ad528148b58cef9c1dbaaae0777 /simulator/opendc-compute/opendc-compute-simulator/src | |
| parent | e85a11645a2262e2e6fd1e3570ad001eb805c85f (diff) | |
compute: Remove ServiceRegistry fields
This change removes the use of ServiceRegistry in the OpenDC compute
module. It was not actually being used by any of the code and we are
moving to another interface in the future.
Diffstat (limited to 'simulator/opendc-compute/opendc-compute-simulator/src')
| -rw-r--r-- | simulator/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimVirtDriver.kt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/simulator/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimVirtDriver.kt b/simulator/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimVirtDriver.kt index d28b2f0d..35d82211 100644 --- a/simulator/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimVirtDriver.kt +++ b/simulator/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimVirtDriver.kt @@ -33,7 +33,6 @@ import org.opendc.compute.core.metal.Node import org.opendc.compute.core.virt.HypervisorEvent import org.opendc.compute.core.virt.driver.InsufficientMemoryOnServerException import org.opendc.compute.core.virt.driver.VirtDriver -import org.opendc.core.services.ServiceRegistry import org.opendc.simulator.compute.* import org.opendc.simulator.compute.interference.IMAGE_PERF_INTERFERENCE_MODEL import org.opendc.simulator.compute.interference.PerformanceInterferenceModel @@ -132,7 +131,6 @@ public class SimVirtDriver( flavor, image, ServerState.BUILD, - ServiceRegistry(), events ) availableMemory -= requiredMemory |
