summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-05-28 11:19:11 +0000
committerArne Juul <arnej@verizonmedia.com>2021-05-28 11:19:11 +0000
commit2568b7dbb4b92c01a1908e0423d7ad63436fe2fb (patch)
tree28b74963fe08122352a938961e88e80f5e088d8b
parenta1d1be5ec41fb72ec2cba4552f40a5bbb4834aac (diff)
remove historical, unused environment variable
-rwxr-xr-xconfig-proxy/src/main/sh/vespa-config-ctl.sh1
-rw-r--r--configd/src/apps/sentinel/env.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/config-proxy/src/main/sh/vespa-config-ctl.sh b/config-proxy/src/main/sh/vespa-config-ctl.sh
index b4127cd337e..03c033e620b 100755
--- a/config-proxy/src/main/sh/vespa-config-ctl.sh
+++ b/config-proxy/src/main/sh/vespa-config-ctl.sh
@@ -92,7 +92,6 @@ cp="libexec/vespa/patches/configproxy:lib/jars/config-proxy-jar-with-dependencie
VESPA_LOG_LEVEL="all -debug -spam"
export VESPA_LOG_TARGET VESPA_LOG_LEVEL VESPA_LOG_CONTROL_DIR
-export VESPA_SENTINEL_PORT
mkdir -p "$LOGDIR"
mkdir -p "$VESPA_LOG_CONTROL_DIR"
diff --git a/configd/src/apps/sentinel/env.cpp b/configd/src/apps/sentinel/env.cpp
index 02df292a423..b555e6e7b77 100644
--- a/configd/src/apps/sentinel/env.cpp
+++ b/configd/src/apps/sentinel/env.cpp
@@ -61,10 +61,6 @@ void Env::statePort(int port) {
}
if (port == 0) {
port = 19098;
- const char *portString = getenv("VESPA_SENTINEL_PORT");
- if (portString) {
- port = strtoul(portString, nullptr, 10);
- }
}
if (_stateServer && port == _statePort) {
return; // ok already