Skip to content

Commit

Permalink
Merge pull request #32327 from vespa-engine/hmusum/remove-support-for…
Browse files Browse the repository at this point in the history
…-unused-env-variable-2

Remove undocumented and unused env variables
  • Loading branch information
hakonhall authored Sep 3, 2024
2 parents 6071955 + ded2a4e commit 16fcbea
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class ConfigEnvironmentVariables implements ConfigOptions {
@Override
public Optional<Integer> rpcPort() {
return Optional.ofNullable(System.getenv("VESPA_CONFIGSERVER_RPC_PORT"))
.or(() -> getRawInstallVariable("services.port_configserver_rpc"))
.map(Integer::parseInt);
}

Expand All @@ -30,7 +29,6 @@ public Optional<Boolean> multiTenant() {
@Override
public ConfigServer[] allConfigServers() {
return Optional.ofNullable(System.getenv("VESPA_CONFIGSERVERS"))
.or(() -> getRawInstallVariable("services.addr_configserver"))
.map(ConfigEnvironmentVariables::toConfigServers)
.orElseGet(() -> new ConfigServer[0]);
}
Expand Down

0 comments on commit 16fcbea

Please sign in to comment.