Skip to content

Commit 07a13b9

Browse files
committed
Fix type mismatch error
1 parent ab60991 commit 07a13b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,8 @@ class FunctionPullingContainerProxy(
10321032
case _: WarmData =>
10331033
Future.successful(None)
10341034
case _ =>
1035-
val owEnv = (authEnvironment ++ environment + ("deadline" -> (Instant.now.toEpochMilli + actionTimeout.toMillis).toString.toJson)) map {
1035+
val owEnv = (authEnvironment ++ environment ++ Map(
1036+
"deadline" -> (Instant.now.toEpochMilli + actionTimeout.toMillis).toString.toJson)) map {
10361037
case (key, value) => "__OW_" + key.toUpperCase -> value
10371038
}
10381039
container

0 commit comments

Comments
 (0)