From 2b09fa5574f2b140e8d9d32d0eb6768c4d42060c Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 7 Apr 2009 19:08:18 -0400 Subject: Make Perl::Critic happy. --- check_postgres.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'check_postgres.pl') diff --git a/check_postgres.pl b/check_postgres.pl index 221927431..220e84d5a 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -1663,7 +1663,7 @@ sub verify_version { ## We almost always need the version, so just grab it for any limitation $SQL = q{SELECT setting FROM pg_settings WHERE name = 'server_version'}; my $oldslurp = $db->{slurp} || ''; - my $info = run_command($SQL, {noverify => 1}); + $info = run_command($SQL, {noverify => 1}); if (defined $info->{db}[0] and exists $info->{db}[0]{error} and defined $info->{db}[0]{error} @@ -4078,7 +4078,7 @@ sub check_replicate_row { ## Reset for final output $db = $sourcedb; - my $slave = 0; + $slave = 0; for my $d (@{$info2->{db}}) { $slave++; next if exists $slave{$slave}; -- cgit v1.2.3