Skip to content

Commit

Permalink
mxmirror: Remove commented out sub
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed May 13, 2019
1 parent a49733f commit 60747d6
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions mxmirror/mxmirror
Original file line number Diff line number Diff line change
Expand Up @@ -490,45 +490,6 @@ sub convert_to_destinationpath {
return;
}




#sub convert_to_path {
# my $string = shift;
# my $mirror = shift;
#
# my ($jbod, $path, $host, $hostpath, $partition);
#
# if(($jbod, $path) = $string =~ /^(X\d+)(.*?)$/) {
# unless(defined $jbodmap->{$jbod}) {
# printf STDERR "**ERROR: unknown jbod: $string";
# next;
# }
# #sauerkraut:/amd/sauerkraut/X/X0053/mirror/balmer/1
#
# $host = $jbodmap->{$jbod};
#
# $hostpath = to_jbod_path($host, $jbod, ${path}, ${mirror});
#
## printf " - jbod=${jbod} path=${path} => ${hostpath}\n";
#
# return wantarray?($host, $hostpath):"${host}:${hostpath}";
# }
#
# if(($host,$partition,$path) = $string =~ /^(.*?):(\d+)(.*?)$/) {
# $hostpath = to_amd_path($host, $partition, $path, $mirror);
#
## printf " - partition=${partition} path=${path} => ${hostpath}\n";
#
# return wantarray?($host, $hostpath):"${host}:${hostpath}";
# }
#
#
#
#
# return;
#}

sub read_mirrormap {
my $file = shift;

Expand Down

0 comments on commit 60747d6

Please sign in to comment.