Update discovery.pm (#3565)

Identifier error.
This commit is contained in:
Jean-François Rameau 2022-03-26 10:11:18 +01:00 committed by GitHub
parent 972be8349f
commit 4d535bea8d

View File

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