From 4b71779b05947151180b165cfe828f9539285b18 Mon Sep 17 00:00:00 2001 From: lchrdn <89968908+lchrdn@users.noreply.github.com> Date: Thu, 9 Jun 2022 16:56:15 +0200 Subject: [PATCH] fix mode name and path in plugin.pm (#3721) --- centreon-plugins/cloud/azure/management/discover/plugin.pm | 2 +- centreon-plugins/cloud/azure/management/monitor/plugin.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/cloud/azure/management/discover/plugin.pm b/centreon-plugins/cloud/azure/management/discover/plugin.pm index 615c3cb51..c2ddef175 100644 --- a/centreon-plugins/cloud/azure/management/discover/plugin.pm +++ b/centreon-plugins/cloud/azure/management/discover/plugin.pm @@ -32,7 +32,7 @@ sub new { $self->{version} = '1.0'; %{$self->{modes}} = ( 'discovery' => 'cloud::azure::management::monitor::mode::discovery', - 'discovery-tenant' => 'cloud::azure::management::monitor::mode::discovertenant' + 'discovery-tenant' => 'cloud::azure::management::monitor::mode::discoverytenant' ); $self->{custom_modes}->{azcli} = 'cloud::azure::custom::azcli'; diff --git a/centreon-plugins/cloud/azure/management/monitor/plugin.pm b/centreon-plugins/cloud/azure/management/monitor/plugin.pm index a6baf7f49..d741aa17e 100644 --- a/centreon-plugins/cloud/azure/management/monitor/plugin.pm +++ b/centreon-plugins/cloud/azure/management/monitor/plugin.pm @@ -33,9 +33,9 @@ sub new { %{$self->{modes}} = ( 'alert' => 'cloud::azure::management::monitor::mode::alert', 'discovery' => 'cloud::azure::management::monitor::mode::discovery', + 'discovery-tenant' => 'cloud::azure::management::monitor::mode::discoverytenant', 'get-metrics' => 'cloud::azure::management::monitor::mode::getmetrics', - 'health' => 'cloud::azure::management::monitor::mode::health', - 'discovery-tenant' => 'cloud::azure::management::monitor::mode::discoverytenant' + 'health' => 'cloud::azure::management::monitor::mode::health' ); $self->{custom_modes}{azcli} = 'cloud::azure::custom::azcli';