From 9816f0d9630fb78c22206918899eeb5de8c2fad7 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 15 Oct 2019 17:40:37 +0200 Subject: [PATCH] enhance indent --- apps/citrix/local/plugin.pm | 10 +++++----- apps/cluster/mscs/local/plugin.pm | 14 +++++++------- apps/hddtemp/local/plugin.pm | 4 ++-- apps/java/hibernate/jmx/plugin.pm | 4 ++-- apps/java/jboss/jmx/plugin.pm | 14 +++++++------- apps/java/kafka/jmx/plugin.pm | 4 ++-- apps/java/peoplesoft/jmx/plugin.pm | 6 +++--- apps/java/weblogic/jmx/plugin.pm | 12 ++++++------ apps/java/zookeeper/jmx/plugin.pm | 4 ++-- apps/redis/cli/plugin.pm | 14 +++++++------- apps/redis/restapi/plugin.pm | 17 +++++++++-------- apps/rrdcached/plugin.pm | 4 ++-- 12 files changed, 54 insertions(+), 53 deletions(-) diff --git a/apps/citrix/local/plugin.pm b/apps/citrix/local/plugin.pm index b8e178404..c9093a255 100644 --- a/apps/citrix/local/plugin.pm +++ b/apps/citrix/local/plugin.pm @@ -31,11 +31,11 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'license' => 'apps::citrix::local::mode::license', - 'session' => 'apps::citrix::local::mode::session', - 'zone' => 'apps::citrix::local::mode::zone', - 'folder' => 'apps::citrix::local::mode::folder', - ); + 'folder' => 'apps::citrix::local::mode::folder', + 'license' => 'apps::citrix::local::mode::license', + 'session' => 'apps::citrix::local::mode::session', + 'zone' => 'apps::citrix::local::mode::zone', + ); return $self; } diff --git a/apps/cluster/mscs/local/plugin.pm b/apps/cluster/mscs/local/plugin.pm index a2d40fbe8..4e6dda64d 100644 --- a/apps/cluster/mscs/local/plugin.pm +++ b/apps/cluster/mscs/local/plugin.pm @@ -31,13 +31,13 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'list-nodes' => 'apps::cluster::mscs::local::mode::listnodes', - 'list-resources' => 'apps::cluster::mscs::local::mode::listresources', - 'network-status' => 'apps::cluster::mscs::local::mode::networkstatus', - 'node-status' => 'apps::cluster::mscs::local::mode::nodestatus', - 'resource-status' => 'apps::cluster::mscs::local::mode::resourcestatus', - 'resourcegroup-status' => 'apps::cluster::mscs::local::mode::resourcegroupstatus', - ); + 'list-nodes' => 'apps::cluster::mscs::local::mode::listnodes', + 'list-resources' => 'apps::cluster::mscs::local::mode::listresources', + 'network-status' => 'apps::cluster::mscs::local::mode::networkstatus', + 'node-status' => 'apps::cluster::mscs::local::mode::nodestatus', + 'resource-status' => 'apps::cluster::mscs::local::mode::resourcestatus', + 'resourcegroup-status' => 'apps::cluster::mscs::local::mode::resourcegroupstatus', + ); return $self; } diff --git a/apps/hddtemp/local/plugin.pm b/apps/hddtemp/local/plugin.pm index a02b27b64..0020b9efb 100644 --- a/apps/hddtemp/local/plugin.pm +++ b/apps/hddtemp/local/plugin.pm @@ -31,8 +31,8 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'temperature' => 'apps::hddtemp::local::mode::temperature', - ); + 'temperature' => 'apps::hddtemp::local::mode::temperature', + ); return $self; } diff --git a/apps/java/hibernate/jmx/plugin.pm b/apps/java/hibernate/jmx/plugin.pm index b8349c718..df7928acd 100644 --- a/apps/java/hibernate/jmx/plugin.pm +++ b/apps/java/hibernate/jmx/plugin.pm @@ -31,8 +31,8 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'stats' => 'apps::java::hibernate::jmx::mode::stats', - ); + 'stats' => 'apps::java::hibernate::jmx::mode::stats', + ); $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; return $self; diff --git a/apps/java/jboss/jmx/plugin.pm b/apps/java/jboss/jmx/plugin.pm index b70fb4f37..d1181ddf1 100644 --- a/apps/java/jboss/jmx/plugin.pm +++ b/apps/java/jboss/jmx/plugin.pm @@ -31,13 +31,13 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'class-count' => 'centreon::common::jvm::mode::classcount', - 'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage', - 'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources', - 'memory' => 'centreon::common::jvm::mode::memory', - 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', - 'threads' => 'centreon::common::jvm::mode::threads', - ); + 'class-count' => 'centreon::common::jvm::mode::classcount', + 'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage', + 'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources', + 'memory' => 'centreon::common::jvm::mode::memory', + 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', + 'threads' => 'centreon::common::jvm::mode::threads', + ); $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; return $self; diff --git a/apps/java/kafka/jmx/plugin.pm b/apps/java/kafka/jmx/plugin.pm index f8c34764b..d01af5658 100644 --- a/apps/java/kafka/jmx/plugin.pm +++ b/apps/java/kafka/jmx/plugin.pm @@ -31,8 +31,8 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'global-stats' => 'apps::java::kafka::jmx::mode::globalstats', - ); + 'global-stats' => 'apps::java::kafka::jmx::mode::globalstats', + ); $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; return $self; diff --git a/apps/java/peoplesoft/jmx/plugin.pm b/apps/java/peoplesoft/jmx/plugin.pm index 906e4f712..bdffa59c1 100644 --- a/apps/java/peoplesoft/jmx/plugin.pm +++ b/apps/java/peoplesoft/jmx/plugin.pm @@ -31,9 +31,9 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'queue-length' => 'apps::java::peoplesoft::jmx::mode::queuelength', - 'sessions' => 'apps::java::peoplesoft::jmx::mode::sessions', - ); + 'queue-length' => 'apps::java::peoplesoft::jmx::mode::queuelength', + 'sessions' => 'apps::java::peoplesoft::jmx::mode::sessions', + ); $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; return $self; diff --git a/apps/java/weblogic/jmx/plugin.pm b/apps/java/weblogic/jmx/plugin.pm index c90707f5c..7b651a4f0 100644 --- a/apps/java/weblogic/jmx/plugin.pm +++ b/apps/java/weblogic/jmx/plugin.pm @@ -31,12 +31,12 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'class-count' => 'centreon::common::jvm::mode::classcount', - 'memory' => 'centreon::common::jvm::mode::memory', - 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', - 'threads' => 'centreon::common::jvm::mode::threads', - 'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager', - ); + 'class-count' => 'centreon::common::jvm::mode::classcount', + 'memory' => 'centreon::common::jvm::mode::memory', + 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', + 'threads' => 'centreon::common::jvm::mode::threads', + 'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager', + ); $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; return $self; diff --git a/apps/java/zookeeper/jmx/plugin.pm b/apps/java/zookeeper/jmx/plugin.pm index dd7a1f43a..8308d5c77 100644 --- a/apps/java/zookeeper/jmx/plugin.pm +++ b/apps/java/zookeeper/jmx/plugin.pm @@ -31,8 +31,8 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'stats' => 'apps::java::zookeeper::jmx::mode::stats', - ); + 'stats' => 'apps::java::zookeeper::jmx::mode::stats', + ); $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; return $self; diff --git a/apps/redis/cli/plugin.pm b/apps/redis/cli/plugin.pm index 1407e3af2..12a9c6ee7 100644 --- a/apps/redis/cli/plugin.pm +++ b/apps/redis/cli/plugin.pm @@ -31,13 +31,13 @@ sub new { $self->{version} = '1.0'; %{$self->{modes}} = ( - 'clients' => 'apps::redis::cli::mode::clients', - 'commands' => 'apps::redis::cli::mode::commands', - 'connections' => 'apps::redis::cli::mode::connections', - 'cpu' => 'apps::redis::cli::mode::cpu', - 'memory' => 'apps::redis::cli::mode::memory', - 'persistence' => 'apps::redis::cli::mode::persistence', - 'replication' => 'apps::redis::cli::mode::replication', + 'clients' => 'apps::redis::cli::mode::clients', + 'commands' => 'apps::redis::cli::mode::commands', + 'connections' => 'apps::redis::cli::mode::connections', + 'cpu' => 'apps::redis::cli::mode::cpu', + 'memory' => 'apps::redis::cli::mode::memory', + 'persistence' => 'apps::redis::cli::mode::persistence', + 'replication' => 'apps::redis::cli::mode::replication', ); $self->{custom_modes}{rediscli} = 'apps::redis::cli::custom::rediscli'; diff --git a/apps/redis/restapi/plugin.pm b/apps/redis/restapi/plugin.pm index faf20e81e..c44c1b92c 100644 --- a/apps/redis/restapi/plugin.pm +++ b/apps/redis/restapi/plugin.pm @@ -31,14 +31,15 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'databases-stats' => 'apps::redis::restapi::mode::databasesstats', - 'cluster-stats' => 'apps::redis::restapi::mode::clusterstats', - 'list-databases' => 'apps::redis::restapi::mode::listdatabases', - 'list-nodes' => 'apps::redis::restapi::mode::listnodes', - 'list-shards' => 'apps::redis::restapi::mode::listshards', - 'nodes-stats' => 'apps::redis::restapi::mode::nodesstats', - 'shards-stats' => 'apps::redis::restapi::mode::shardsstats', - ); + 'databases-stats' => 'apps::redis::restapi::mode::databasesstats', + 'cluster-stats' => 'apps::redis::restapi::mode::clusterstats', + 'list-databases' => 'apps::redis::restapi::mode::listdatabases', + 'list-nodes' => 'apps::redis::restapi::mode::listnodes', + 'list-shards' => 'apps::redis::restapi::mode::listshards', + 'nodes-stats' => 'apps::redis::restapi::mode::nodesstats', + 'shards-stats' => 'apps::redis::restapi::mode::shardsstats', + ); + $self->{custom_modes}{api} = 'apps::redis::restapi::custom::api'; return $self; } diff --git a/apps/rrdcached/plugin.pm b/apps/rrdcached/plugin.pm index be5400bdb..c2f7bff18 100644 --- a/apps/rrdcached/plugin.pm +++ b/apps/rrdcached/plugin.pm @@ -31,8 +31,8 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'stats' => 'apps::rrdcached::mode::stats', - ); + 'stats' => 'apps::rrdcached::mode::stats', + ); return $self; }