fix Admin.pm
This commit is contained in:
parent
237c2213e9
commit
05c9bf85c4
2 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
translation out into a seperate method so it can be more easily maintained
|
||||
and tested.
|
||||
- fix: Spectre needs new watch batteries
|
||||
- fix: Admin.pm (thanks to elnino)
|
||||
- fix: lack of testing for valid object creation
|
||||
- fix: No mention of intermediate upgrade step in gotcha's
|
||||
- fix: A newly released version of Html::Template fixes a bug with global
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ sub runTests {
|
|||
next if $config =~ m/^demo/;
|
||||
print "Testing $key\n";
|
||||
my $userAgent = new LWP::UserAgent;
|
||||
$userAgent->env_proxy;
|
||||
$userAgent->agent("Spectre");
|
||||
$userAgent->timeout(30);
|
||||
my $url = "http://".$configs->{$key}->get("sitename")->[0].":".$config->get("webguiPort").$configs->{$key}->get("gateway")."?op=spectreTest";
|
||||
|
|
@ -209,7 +210,7 @@ sub runTests {
|
|||
} elsif ($response eq "spectre") {
|
||||
print "ERROR: WebGUI cannot communicate with Spectre. Perhaps you need to adjust the spectreIp or spectrePort setting the this config file: $key.";
|
||||
} elsif ($response ne "success") {
|
||||
print "ERROR: Spectre received an invalid response from WebGUI while testing $key\n";
|
||||
print "ERROR: Spectre received an invalid response ($response) from WebGUI while testing $key\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue