fix macros names in disco_raid_hp_sudo

This commit is contained in:
Daniel Berteaud 2013-10-01 14:16:33 +02:00
parent 8b36956856
commit ddcbbc85dd

View File

@ -22,7 +22,7 @@ foreach my $line (<HPACUCLI>){
die "Another instance of hpacucli is running\n";
}
elsif ( $line =~ m/(.*) in Slot (\d+)/i ) {
push @{$json->{data}}, {"#MODEL" => $1, "#SLOT" => $2};
push @{$json->{data}}, {"{#MODEL}" => $1, "{#SLOT}" => $2};
}
}
close HPACUCLI;