This is an automated email from the ASF dual-hosted git repository.
style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 23be3351d Fix wrong returned type when reschedule activation msg
(#5242)
23be3351d is described below
commit 23be3351d3db6d62d14ed69b85afdc71e7ffb4a4
Author: jiangpch <[email protected]>
AuthorDate: Mon May 23 14:23:57 2022 +0800
Fix wrong returned type when reschedule activation msg (#5242)
---
.../apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala
index 5127a5573..2c2392feb 100644
---
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala
+++
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala
@@ -131,7 +131,7 @@ class ActivationClientProxy(
.recover {
case t =>
logging.error(this, s"Failed to reschedule activation (error: $t)")
- Future.successful(RescheduleResponse())
+ RescheduleResponse()
}
.foreach(res => {
context.parent ! res