From f0eb387c84ed0c2cbc4800813a5d1582b340dd0f Mon Sep 17 00:00:00 2001 From: thibaults-centreon Date: Tue, 21 Apr 2020 11:13:47 +0200 Subject: [PATCH] cleanup --- apps/mulesoft/restapi/mode/servers.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/mulesoft/restapi/mode/servers.pm b/apps/mulesoft/restapi/mode/servers.pm index a60cd7bc3..2bf7bc006 100644 --- a/apps/mulesoft/restapi/mode/servers.pm +++ b/apps/mulesoft/restapi/mode/servers.pm @@ -25,7 +25,6 @@ use base qw(centreon::plugins::templates::counter); use strict; use warnings; use centreon::plugins::templates::catalog_functions qw(catalog_status_threshold); -use DateTime; sub custom_status_output { my ($self, %options) = @_; @@ -119,7 +118,6 @@ sub manage_selection { $self->{global} = { started => 0, stopped => 0, failed => 0 }; $self->{servers} = {}; my $result = $options{custom}->list_servers(); - my $current_time = DateTime->now(); foreach my $server (@{$result}) { next if ( defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne ''