Skip to content

Commit 4b2b1ba

Browse files
committed
Fix scala 2.13 compilation error
1 parent 4801f71 commit 4b2b1ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerPool.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ class FunctionPullingContainerPool(
116116
val prewarmedSize = prewarmedPool.size
117117
val busySize = busyPool.size
118118
val warmedSize = warmedPool.size
119-
val warmedPoolMap: Map[(String, String), Int] = warmedPool groupBy {
119+
val warmedPoolMap: immutable.Map[(String, String), Int] = warmedPool groupBy {
120120
case (_, warmedData) => (warmedData.invocationNamespace, warmedData.action.toString)
121121
} mapValues (_.size)
122-
for((data, size) <- warmedPoolMap) {
122+
for ((data, size) <- warmedPoolMap) {
123123
val tags: Option[Map[String, String]] = Some(Map("namespace" -> data._1, "action" -> data._2))
124124
MetricEmitter.emitHistogramMetric(LoggingMarkers.INVOKER_CONTAINERPOOL_CONTAINER("warmed", tags), size)
125125
}

0 commit comments

Comments
 (0)