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

modify return value of bmcdiscover check and ipsource options

This commit is contained in:
XuWei 2017-05-10 22:33:59 -04:00
parent 0cfa02bfbc
commit 36635b3fea

View File

@ -389,7 +389,7 @@ sub get_bmc_ip_source {
# all other errors
push @{ $rsp->{data} }, "$error_msg";
}
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
xCAT::MsgUtils->message("W", $rsp, $::CALLBACK);
return 2;
}
}
@ -453,7 +453,7 @@ sub check_auth_process {
else {
push @{ $rsp->{data} }, "Unknown Error: $output";
}
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
xCAT::MsgUtils->message("W", $rsp, $::CALLBACK);
return 2;
}
}
@ -621,7 +621,7 @@ sub scan_process {
{
my $rsp = {};
push @{ $rsp->{data} }, "No bmc found.\n";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
xCAT::MsgUtils->message("W", $rsp, $::CALLBACK);
return 2;
}
}