After 1.2, domains element is no longer used
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 May 2008 19:59:06 +0000 (19:59 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 May 2008 19:59:06 +0000 (19:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9515 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/support-scripts/settings-tester.pl

index 7b9d8aa..342ff4f 100755 (executable)
@@ -70,7 +70,8 @@ my $conf = OpenSRF::Utils::Config->current;
 my $j_username    = $conf->bootstrap->username;
 my $j_password    = $conf->bootstrap->passwd;
 my $j_port    = $conf->bootstrap->port;
-my $j_domain    = $conf->bootstrap->domains->[0];
+# We should check for a domains element to catch likely upgrade errors
+my $j_domain    = $conf->bootstrap->domain;
 my $settings_config = $conf->bootstrap->settings_config;
 my $logfile    = $conf->bootstrap->logfile;
 (my $log_dir = $logfile) =~ s#(.*)/.*#$1#;