2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-07 00:42:29 +00:00

Merge pull request #4461 from xuweibj/status_line

modify response for bmcdiscover when error
This commit is contained in:
zet809
2017-12-07 14:08:53 +08:00
committed by GitHub

View File

@@ -1215,7 +1215,7 @@ sub bmcdiscovery_openbmc{
if ($login_response->status_line =~ /401 Unauthorized/) {
xCAT::MsgUtils->message("W", { data => ["Invalid username or password for $ip"] }, $::CALLBACK);
} else {
xCAT::MsgUtils->message("W", { data => ["$login_response->status_line for $ip"] }, $::CALLBACK);
xCAT::MsgUtils->message("W", { data => ["Received response " . $login_response->status_line . " for $ip"] }, $::CALLBACK);
}
return;
}