mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 14:44:43 +02:00
remove cces debug
This commit is contained in:
parent
befad45df1
commit
86247c15bc
@ -193,18 +193,18 @@ sub authenticate {
|
|||||||
sub request_api {
|
sub request_api {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
my $plop = do {
|
#my $plop = do {
|
||||||
local $/ = undef;
|
# local $/ = undef;
|
||||||
if (!open my $fh, "<", '/tmp/plop.txt') {
|
# if (!open my $fh, "<", '/tmp/plop2.txt') {
|
||||||
$self->{output}->add_option_msg(short_msg => "Could not open file $self->{option_results}->{$_} : $!");
|
# $self->{output}->add_option_msg(short_msg => "Could not open file $self->{option_results}->{$_} : $!");
|
||||||
$self->{output}->option_exit();
|
# $self->{output}->option_exit();
|
||||||
}
|
# }
|
||||||
<$fh>;
|
# <$fh>;
|
||||||
};
|
#};
|
||||||
eval {
|
#eval {
|
||||||
$plop = XMLin($plop, ForceArray => $options{ForceArray}, KeyAttr => []);
|
# $plop = XMLin($plop, ForceArray => $options{ForceArray}, KeyAttr => []);
|
||||||
};
|
#};
|
||||||
return $plop;
|
#return $plop;
|
||||||
|
|
||||||
$self->settings();
|
$self->settings();
|
||||||
if (!defined($self->{session_cookie})) {
|
if (!defined($self->{session_cookie})) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user