summaryrefslogtreecommitdiff
path: root/opendc/opendc-format/src
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-03-10 14:59:12 +0100
committerGeorgios Andreadis <info@gandreadis.com>2020-03-11 12:47:57 +0100
commit03ec0932771bc194b731c2142f754baebf36ca4f (patch)
tree3d8ec82808653695b64b64de7e74ea31fafdd4fc /opendc/opendc-format/src
parentb67045d699d0d6d33df9a7ee4ee99148528a936a (diff)
Fix redundant braces
Diffstat (limited to 'opendc/opendc-format/src')
-rw-r--r--opendc/opendc-format/src/main/kotlin/com/atlarge/opendc/format/environment/sc20/Sc20ClusterEnvironmentReader.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc/opendc-format/src/main/kotlin/com/atlarge/opendc/format/environment/sc20/Sc20ClusterEnvironmentReader.kt b/opendc/opendc-format/src/main/kotlin/com/atlarge/opendc/format/environment/sc20/Sc20ClusterEnvironmentReader.kt
index 96e84976..da16c63d 100644
--- a/opendc/opendc-format/src/main/kotlin/com/atlarge/opendc/format/environment/sc20/Sc20ClusterEnvironmentReader.kt
+++ b/opendc/opendc-format/src/main/kotlin/com/atlarge/opendc/format/environment/sc20/Sc20ClusterEnvironmentReader.kt
@@ -97,12 +97,12 @@ class Sc20ClusterEnvironmentReader(
nodes.add(
SimpleBareMetalDriver(
UUID.randomUUID(),
- "node-${clusterId}-${it}",
+ "node-$clusterId-$it",
List(coresPerHost) { coreId ->
ProcessingUnit(unknownProcessingNode, coreId, speed)
},
listOf(unknownMemoryUnit),
- dom.newDomain("node-${clusterId}-${it}")
+ dom.newDomain("node-$clusterId-$it")
)
)
}