remove data::dumper

This commit is contained in:
garnier-quentin 2019-04-18 15:54:12 +02:00
parent e47fbd8310
commit e4e2b6ca4b
6 changed files with 0 additions and 11 deletions

View File

@ -26,7 +26,6 @@ use strict;
use warnings;
use centreon::plugins::http;
use JSON;
use Data::Dumper;
sub new {
my ($class, %options) = @_;
@ -77,7 +76,6 @@ sub run {
if ($@) {
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");
$self->{output}->output_add(long_msg => Data::Dumper::Dumper(), debug => 1);
$self->{output}->option_exit();
}

View File

@ -25,7 +25,6 @@ use base qw(centreon::plugins::mode);
use strict;
use warnings;
use IO::Socket;
use Data::Dumper;
sub new {
my ($class, %options) = @_;

View File

@ -122,9 +122,6 @@ sub manage_selection {
}
}
use Data::Dumper;
print Data::Dumper::Dumper($self->{cr});
if (scalar(keys %{$self->{cr}}) <= 0) {
$self->{output}->add_option_msg(short_msg => "No client request found.");
$self->{output}->option_exit();

View File

@ -144,9 +144,6 @@ sub manage_selection {
$result->{xupsOutputFrequency} = defined($result->{xupsOutputFrequency}) ? ($result->{xupsOutputFrequency} * 0.1) : 0;
$result->{xupsOutputLoad} = defined($result->{xupsOutputLoad}) ? $result->{xupsOutputLoad} : -1;
$self->{global} = { %$result };
use Data::Dumper;
print Data::Dumper::Dumper($self->{oline});
}
1;

View File

@ -24,7 +24,6 @@ use base qw(centreon::plugins::mode);
use strict;
use warnings;
use Data::Dumper;
sub new {
my ($class, %options) = @_;

View File

@ -24,7 +24,6 @@ use base qw(centreon::plugins::mode);
use strict;
use warnings;
use Data::Dumper;
sub new {
my ($class, %options) = @_;