From 64e831d7ee3a067e48c8be7b19c6c436b55ed77d Mon Sep 17 00:00:00 2001 From: ertaozh Date: Mon, 13 Nov 2017 03:44:11 -0500 Subject: [PATCH] Modify the error information for --check and --ipsource for bmcdiscover --- xCAT-server/lib/xcat/plugins/bmcdiscover.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index 057394ab0..568b8a9d6 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -107,11 +107,11 @@ sub preprocess_request { } return \@requests; } elsif (grep /--check/, @ARGV) { - $callback->({ error => ["The option '--check' is not supported at present"], errorcode=>[1]}); + $callback->({ error => ["The option '--check' is not supported"], errorcode=>[1]}); $request = (); return; } elsif (grep /--ipsource/, @ARGV) { - $callback->({ error => ["The option '--ipsource' is not supported at present"], errorcode=>[1]}); + $callback->({ error => ["The option '--ipsource' is not supported"], errorcode=>[1]}); $request = (); return; } else {