From 7081ea59ca7b13a2dbcf13101e6bdfb65e9f60a7 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 15 Sep 2016 10:38:47 +0200 Subject: [PATCH] + fix indent --- apps/centreon/map/jmx/mode/elements.pm | 1 - apps/centreon/map/jmx/plugin.pm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/centreon/map/jmx/mode/elements.pm b/apps/centreon/map/jmx/mode/elements.pm index 2a32cc591..d9a6d9f26 100644 --- a/apps/centreon/map/jmx/mode/elements.pm +++ b/apps/centreon/map/jmx/mode/elements.pm @@ -55,7 +55,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; $self->{request} = [ diff --git a/apps/centreon/map/jmx/plugin.pm b/apps/centreon/map/jmx/plugin.pm index 3735d109e..f36f661f1 100644 --- a/apps/centreon/map/jmx/plugin.pm +++ b/apps/centreon/map/jmx/plugin.pm @@ -31,7 +31,7 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( 'gates' => 'apps::centreon::map::jmx::mode::gates', - 'elements' => 'apps::centreon::map::jmx::mode::elements', + 'elements' => 'apps::centreon::map::jmx::mode::elements', 'sessions' => 'apps::centreon::map::jmx::mode::sessions', 'event-queue' => 'apps::centreon::map::jmx::mode::eventqueue', 'event-statistics' => 'apps::centreon::map::jmx::mode::eventstatistics',