Skip to content

Commit 1f270a1

Browse files
committed
Fix review points
1 parent 743070e commit 1f270a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerPool.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ class ContainerPool(childFactory: ActorRefFactory => ActorRef,
444444
def hasPoolSpaceFor[A](pool: Map[A, ContainerData],
445445
prewarmStartingPool: Map[A, (String, ByteSize)],
446446
memory: ByteSize): Boolean = {
447-
memoryConsumptionOf(pool) + +prewarmStartingPool.map(_._2._2.toMB).sum + memory.toMB <= poolConfig.userMemory.toMB
447+
memoryConsumptionOf(pool) + prewarmStartingPool.map(_._2._2.toMB).sum + memory.toMB <= poolConfig.userMemory.toMB
448448
}
449449

450450
/**

0 commit comments

Comments
 (0)