2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

Merge pull request #3209 from xuweibj/I3207

modify format of error msg for 2200 port to hash according to other msg
This commit is contained in:
chenglch 2017-06-07 09:15:54 +08:00 committed by GitHub
commit 21e84a7895

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;
}