projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36675f2
)
Fix typo.
author
Greg Sabino Mullane
<
[email protected]
>
Sat, 8 Oct 2011 12:44:08 +0000
(08:44 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Sat, 8 Oct 2011 12:44:08 +0000
(08:44 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index d966daf5d421689a6ed65d51dd5f20c4a6a06150..bdc0f33c52b698ea2f8eef4b3e7491956c4113ba 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-1399,7
+1399,7
@@
sub add_response {
}
## Ports
$number = 1;
- my %portlist = map {
i
($_->{port} || ''), $number++; } @targetdb;
+ my %portlist = map { ($_->{port} || ''), $number++; } @targetdb;
if (keys %portlist > 1 and ! $historical) {
my $dblist = join ',' => sort { $portlist{$a} <=> $portlist{$b} } keys %portlist;
$dbport = qq{ (ports:$dblist)};