2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

modify error msg when login by 'curl' failed

This commit is contained in:
XuWei 2017-11-08 20:24:02 -05:00
parent 6793f140ef
commit c2311306f9

View File

@ -586,7 +586,7 @@ sub process_request {
foreach my $node (keys %node_info) {
if (!$valid_nodes{$node}) {
xCAT::SvrUtils::sendmsg([1, $::RESPONSE_SERVICE_UNAVAILABLE], $callback, $node);
xCAT::SvrUtils::sendmsg([1, "Unavailable now, please try again later"], $callback, $node);
$wait_node_num--;
} else {
$login_url = "$http_protocol://$node_info{$node}{bmc}/login";