markusthoemmes closed pull request #2885: Fix invoker build break
URL: https://github.com/apache/incubator-openwhisk/pull/2885
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/invoker/src/main/scala/whisk/core/invoker/Invoker.scala 
b/core/invoker/src/main/scala/whisk/core/invoker/Invoker.scala
index aa2b7f3c69..aa8d88ff43 100644
--- a/core/invoker/src/main/scala/whisk/core/invoker/Invoker.scala
+++ b/core/invoker/src/main/scala/whisk/core/invoker/Invoker.scala
@@ -96,10 +96,8 @@ object Invoker {
       }
       .getOrElse {
         if (config.redisHostName.trim.isEmpty || 
config.redisHostPort.trim.isEmpty) {
-          logger.error(
-            this,
+          abort(
             s"Must provide valid Redis host and port to use dynamicId 
assignment (${config.redisHostName}:${config.redisHostPort})")
-          abort()
         }
         val invokerName = config.invokerName
         val redisClient = new RedisClient(config.redisHostName, 
config.redisHostPort.toInt)


 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to