Skip to content

Commit

Permalink
mxmirror: Remove debug code
Browse files Browse the repository at this point in the history
Remove Data::Dumper and callers which are all commented out.
  • Loading branch information
donald committed May 13, 2019
1 parent 8df9b2d commit 2444ecd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions mxmirror/mxmirror
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@

use Socket;
use Sys::Hostname;
use Data::Dumper;
use Getopt::Long;

use Date::Calc;

use strict;
use warnings;

$Data::Dumper::Sortkeys = "macheteinfach";


#print Dumper $t1, $t2, $t3, $t4, $dt12, $dt21, $dt23, $dt34;



my $JBODMAP='/etc/amd/amd.jbod';
my $MIRRORMAP='/etc/mxmirrors';

Expand Down Expand Up @@ -61,8 +53,6 @@ sub check_a {

}

#print Dumper $mirrors;

my $result = GetOptions(
"from:s" => \$opt{from},
"to:s" => \$opt{to},
Expand Down Expand Up @@ -310,8 +300,6 @@ sub get_mirror_status {
return 'UNKNOWN';
}

#print Dumper \%opt;

sub do_format {
my $fmt = shift;
my $data = shift;
Expand Down

0 comments on commit 2444ecd

Please sign in to comment.