From 1f20357f07679c5fd95950d3bd4739b738d0293d Mon Sep 17 00:00:00 2001 From: matoy Date: Mon, 17 May 2021 17:47:38 +0200 Subject: [PATCH] Update replication.pm --- centreon-plugins/cloud/azure/database/mysql/mode/replication.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/cloud/azure/database/mysql/mode/replication.pm b/centreon-plugins/cloud/azure/database/mysql/mode/replication.pm index 7a56d4ad6..00c7328b9 100644 --- a/centreon-plugins/cloud/azure/database/mysql/mode/replication.pm +++ b/centreon-plugins/cloud/azure/database/mysql/mode/replication.pm @@ -109,7 +109,7 @@ sub check_options { my $metrics_mapping_transformed; foreach my $metric_type (@{$resource_mapping->{$resource_type}}) { - $metrics_mapping_transformed->{$metric_type} = $self->{resource_mapping}->{$metric_type}; + $self->{metrics_mapping_transformed}->{$metric_type} = $self->{metrics_mapping}->{$metric_type}; } foreach my $metric (keys %{$self->{metrics_mapping_transformed}}) {