1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -30,4 +30,4 @@ not in the path already.
`env.name` is blank (undefined) by default and can be used to specify a -n
name argument to varnish if multiple instances are running on the same
server.
server.

View file

@ -76,5 +76,5 @@ foreach $line (`varnishstat -1`) {
}
}
}
exit;

View file

@ -968,7 +968,7 @@ sub populate_stats
my $parser = new XML::Parser(Handlers => {Start => \&xml_start_elem,
End => \&xml_end_elem,
Char => \&xml_characters} );
if ($varnishname) {
$arg .= " -n $varnishname";
}
@ -1009,7 +1009,7 @@ sub print_dynamic
}
my $counter = $ASPECTS{$self}{'values'}{$name}{'counter'};
my $type = $ASPECTS{$self}{'values'}{$name}{'family'};
foreach my $key (keys %{$data{$type}}) {
my $pname = normalize_name($type . "_" . $key . "_" . $counter);
print $pname . $suffix . " ";
@ -1097,7 +1097,7 @@ sub get_config
}
next;
}
if (!print_if_exist(\%values,$value,'label')) {
print "$value.label $data{$value}{'description'}\n";
}