summaryrefslogtreecommitdiffstats
path: root/configd
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 /configd
parenta1d1be5ec41fb72ec2cba4552f40a5bbb4834aac (diff)
remove historical, unused environment variable
Diffstat (limited to 'configd')
-rw-r--r--configd/src/apps/sentinel/env.cpp4
1 files changed, 0 insertions, 4 deletions
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