summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/perl/vespa-deploy
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2018-04-13 10:58:38 +0000
committerArne Juul <arnej@yahoo-inc.com>2018-04-16 13:57:57 +0000
commitb58cbe68e30c37cb67e4eb18e3a7a29a12722f1a (patch)
treede7e3312cc4a1c18a719958cb8ee0fa259c14c98 /config-model/src/main/perl/vespa-deploy
parent7c90afed7e18ebac57ba0dd7986c1a4159f78c98 (diff)
handle VESPA_CONFIGSERVERS
* also some refactoring * also, make C++ code (in defaults) handle same variable variants, like services__addr_configserver * also, update some error messages to indicate that VESPA_CONFIGSERVERS is the variable we expected to use
Diffstat (limited to 'config-model/src/main/perl/vespa-deploy')
-rwxr-xr-xconfig-model/src/main/perl/vespa-deploy4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/perl/vespa-deploy b/config-model/src/main/perl/vespa-deploy
index cb198c170a5..8a74d97e868 100755
--- a/config-model/src/main/perl/vespa-deploy
+++ b/config-model/src/main/perl/vespa-deploy
@@ -310,13 +310,13 @@ sub get_configsource_url {
my $configsource_url = shift(@configsources);
if (!$configsource_url) {
- die "Could not get url to config server, make sure that VESPA_HOME and services.addr_configserver is set\n";
+ die "Could not get url to config server, make sure that VESPA_HOME and VESPA_CONFIGSERVERS are set\n";
}
chomp($configsource_url);
my @temp = split(':', $configsource_url, 3);
$configsource_url = $temp[0] . ":" . $temp[1] . ":" . $port;
if (!$configsource_url) {
- print "Could not get url to config server, make sure that services.addr_configserver is set\n";
+ print "Could not get url to config server, make sure that VESPA_CONFIGSERVERS is set\n";
exit 1;
}