fix mode name and path in plugin.pm (#3721)

This commit is contained in:
lchrdn 2022-06-09 16:56:15 +02:00 committed by GitHub
parent 50fd46a6fd
commit 4b71779b05
2 changed files with 3 additions and 3 deletions

View File

@ -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';

View File

@ -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';