2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-24 20:20:33 +00:00

Add FRU ID into the error message to be more descriptive

about receiving the incorrect data from the BMC
This commit is contained in:
Victor Hu
2015-11-16 10:56:52 -05:00
parent 317d7cf08e
commit 743960c5a8

View File

@@ -3292,7 +3292,8 @@ sub readcurrfrudevice {
my @data = @{$rsp->{data}};
if ($data[0] != $sessdata->{currfruchunk}) {
add_fruhash($sessdata);
xCAT::SvrUtils::sendmsg([1,"Received incorrect data from BMC"],$callback,$sessdata->{node},%allerrornodes);
my $text = "Received incorrect data from BMC for FRU ID: " . $sessdata->{currfruid};
xCAT::SvrUtils::sendmsg($text,$callback,$sessdata->{node},%allerrornodes);
return;
}
shift @data;