2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-30 16:21:11 +00:00

modify format of error msg for 2200 port to hash according to other msg

This commit is contained in:
XuWei
2017-06-05 21:40:08 -04:00
parent a35ffeda56
commit b0fece2907

View File

@@ -594,7 +594,9 @@ sub scan_process {
bmcdiscovery_ipmi(${$live_ip}[$i], $opz, $opw, $request_command);
}
} else {
xCAT::MsgUtils->message("E", "Can not get status of 2200 port.", $::CALLBACK);
my $rsp = {};
push @{ $rsp->{data} }, "Can not get status of 2200 port for ip ${$live_ip}[$i].\n";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
exit 1;
}