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/branches/2.7@13985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-10-11 18:02:49 +00:00
parent c94740deb4
commit 2f39a9182c

View File

@ -1058,7 +1058,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);
}