fixup: graphite: use correct variable in closure

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-19 09:10:16 +01:00
parent e35f1d37d7
commit 1e4ae7d44c

View File

@ -127,7 +127,7 @@ sub assemble {
my ($metric, $path) = @_;
for my $key (sort keys %$metric) {
my $value = $data->{$key};
my $value = $metric->{$key};
next if !defined($value);
$key =~ s/\./-/g;