Fix typo.
authorGreg Sabino Mullane <[email protected]>
Sat, 8 Oct 2011 12:44:08 +0000 (08:44 -0400)
committerGreg Sabino Mullane <[email protected]>
Sat, 8 Oct 2011 12:44:08 +0000 (08:44 -0400)
check_postgres.pl

index d966daf5d421689a6ed65d51dd5f20c4a6a06150..bdc0f33c52b698ea2f8eef4b3e7491956c4113ba 100755 (executable)
@@ -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)};