From 36635b3fea13ebf78499bc5c46a367301aa7675b Mon Sep 17 00:00:00 2001 From: XuWei Date: Wed, 10 May 2017 22:33:59 -0400 Subject: [PATCH] modify return value of bmcdiscover check and ipsource options --- xCAT-server/lib/xcat/plugins/bmcdiscover.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index 1aac3e0d9..439203163 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -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; } }