This is an automated email from the ASF dual-hosted git repository.

markusthoemmes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new fe873c3  Fix invoker build break. (#2885)
fe873c3 is described below

commit fe873c3383305f4ff91e7b09aef85101f3dc8e51
Author: Sven Lange-Last <sven.lange-l...@de.ibm.com>
AuthorDate: Mon Oct 23 10:50:22 2017 +0200

    Fix invoker build break. (#2885)
---
 core/invoker/src/main/scala/whisk/core/invoker/Invoker.scala | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 aa2b7f3..aa8d88f 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)

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Reply via email to