mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Modify the error information for --check and --ipsource for bmcdiscover
This commit is contained in:
parent
031baf5940
commit
64e831d7ee
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user