You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2022/05/23 06:24:03 UTC

[openwhisk] branch master updated: Fix wrong returned type when reschedule activation msg (#5242)

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 <ji...@navercorp.com>
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