You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2017/12/09 13:53:18 UTC
[incubator-openwhisk] branch master updated: cleanup: remove unused
redis host/port from WhiskConfig (#3047)
This is an automated email from the ASF dual-hosted git repository.
rabbah 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 d87627c cleanup: remove unused redis host/port from WhiskConfig (#3047)
d87627c is described below
commit d87627c1cd30a28a2a9b9c7cf2ae41228153bfb2
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Dec 9 08:53:15 2017 -0500
cleanup: remove unused redis host/port from WhiskConfig (#3047)
I should have removed these when we switched to using zookeeper
as the persistent store for invoker id assignment. They are not used.
---
common/scala/src/main/scala/whisk/core/WhiskConfig.scala | 4 ----
1 file changed, 4 deletions(-)
diff --git a/common/scala/src/main/scala/whisk/core/WhiskConfig.scala b/common/scala/src/main/scala/whisk/core/WhiskConfig.scala
index 96cf1bc..67a98f1 100644
--- a/common/scala/src/main/scala/whisk/core/WhiskConfig.scala
+++ b/common/scala/src/main/scala/whisk/core/WhiskConfig.scala
@@ -76,8 +76,6 @@ class WhiskConfig(requiredProperties: Map[String, String],
val edgeHost = this(WhiskConfig.edgeHostName) + ":" + this(WhiskConfig.edgeHostApiPort)
val kafkaHosts = this(WhiskConfig.kafkaHostList)
- val redisHostName = this(WhiskConfig.redisHostName)
- val redisHostPort = this(WhiskConfig.redisHostPort)
val edgeHostName = this(WhiskConfig.edgeHostName)
@@ -219,10 +217,8 @@ object WhiskConfig {
val kafkaHostList = "kafka.hosts"
val zookeeperHostList = "zookeeper.hosts"
- val redisHostName = "redis.host"
private val edgeHostApiPort = "edge.host.apiport"
- val redisHostPort = "redis.host.port"
val invokerHostsList = "invoker.hosts"
val dbHostsList = "db.hostsList"
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].