remove data::dumper
This commit is contained in:
parent
e47fbd8310
commit
e4e2b6ca4b
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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) = @_;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -24,7 +24,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Data::Dumper;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -24,7 +24,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Data::Dumper;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
Loading…
Reference in New Issue