Skip to content

Commit

Permalink
mxmirror: Add M & D type assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Mar 15, 2018
1 parent 117d0b6 commit b071ee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mxmirror/mxmirror
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ sub convert_to_sourcepath {

my ($jbod, $path, $host, $hostpath, $partition);

if(($jbod, $path) = $string =~ /^([XC]\d+)(.*?)$/) {
if(($jbod, $path) = $string =~ /^([XCMD]\d+)(.*?)$/) {
unless(defined $jbodmap->{$jbod}) {
printf STDERR "**ERROR: unknown jbod: $string";
next;
Expand Down Expand Up @@ -712,7 +712,7 @@ sub convert_to_destinationpath {

my ($jbod, $path, $host, $hostpath, $partition);

if(($jbod, $path) = $string =~ /^([XC]\d+)(.*?)$/) {
if(($jbod, $path) = $string =~ /^([XCMD]\d+)(.*?)$/) {
unless(defined $jbodmap->{$jbod}) {
printf STDERR "**ERROR: unknown jbod: $string";
next;
Expand Down Expand Up @@ -882,7 +882,7 @@ sub read_jbodmap {
my $map = {};
foreach(<F>) {
next unless (m(/amd/(.*?)/[XC]/([XC]\d+)));
next unless (m(/amd/(.*?)/[XCMD]/([XCMD]\d+)));
$map->{$2} = $1;
}
Expand Down

0 comments on commit b071ee8

Please sign in to comment.