From 4d535bea8d5300ad276ebc2a36b6167f327bfdec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Sat, 26 Mar 2022 10:11:18 +0100 Subject: [PATCH] Update discovery.pm (#3565) Identifier error. --- centreon-plugins/cloud/aws/fsx/mode/discovery.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/cloud/aws/fsx/mode/discovery.pm b/centreon-plugins/cloud/aws/fsx/mode/discovery.pm index 85ffce23a..e72abea45 100644 --- a/centreon-plugins/cloud/aws/fsx/mode/discovery.pm +++ b/centreon-plugins/cloud/aws/fsx/mode/discovery.pm @@ -65,7 +65,7 @@ sub run { $fsx{creation_time} = $fsx_instance->{CreationTime}; $fsx{lifecycle} = $fsx_instance->{Lifecycle}; $fsx{fsx_type} = $fsx_instance->{FileSystemType}; - foreach my $tag (@{$instance->{Tags}}) { + foreach my $tag (@{$fsx_instance->{Tags}}) { push @{$fsx{tags}}, { key => $tag->{Key}, value => $tag->{Value} }; } push @disco_data, \%fsx;