You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/09/03 15:56:53 UTC

[GitHub] vvraskin commented on a change in pull request #3999: Mark activationRun as failed if there is an ContainerConnectionError

vvraskin commented on a change in pull request #3999: Mark activationRun as failed if there is an ContainerConnectionError
URL: https://github.com/apache/incubator-openwhisk/pull/3999#discussion_r214727118
 
 

 ##########
 File path: common/scala/src/main/scala/whisk/core/containerpool/Container.scala
 ##########
 @@ -142,12 +142,16 @@ trait Container {
     callContainer("/run", body, timeout, retry = false)
       .andThen { // never fails
         case Success(r: RunResult) =>
 
 Review comment:
   Did you consider adding a similar behaviour for the `/init` call as well? I see nearly the same code in https://github.com/apache/incubator-openwhisk/blob/master/common/scala/src/main/scala/whisk/core/containerpool/Container.scala#L102 
   
   or maybe even extracting it into a separate method would help here...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services