2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

[apache_logparser] fix syntax error of for-loop

This commit is contained in:
Lars Kruse 2016-11-25 02:18:29 +01:00
parent 02f80a35a3
commit 89b2f76701

View File

@ -169,7 +169,7 @@ while (1) {
$old{$vpm}{'max_bytes'}=max($old{$vpm}{'max_bytes'},$temp{$vpm}{'max_bytes'}) || 0;
# reset local counters
foreach my $check qw(requests bytes time max_bytes avg_bytes max_time avg_time) {
foreach my $check (qw(requests bytes time max_bytes avg_bytes max_time avg_time)) {
$temp{$vpm}{$check}=0;
}