mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-25 20:50:26 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user