Fix problem where node specific errors in some ipmi scenarios are not associated with a node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-10-11 18:02:09 +00:00
parent beb47bb0f3
commit 354e960cfb

View File

@ -1060,7 +1060,7 @@ sub check_rsp_errors { #TODO: pass in command-specfic error code translation tab
}
if ($rsp->{code}) { #ipmi error
if ($codes{$rsp->{code}}) {
xCAT::SvrUtils::sendmsg([1,$codes{$rsp->{code}}],$callback);
xCAT::SvrUtils::sendmsg([1,$codes{$rsp->{code}}],$callback,$sessdata->{node},%allerrornodes);
} else {
xCAT::SvrUtils::sendmsg([1,sprintf("Unknown error code %02xh",$rsp->{code})],$callback,$sessdata->{node},%allerrornodes);
}