1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51: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

@ -79,7 +79,7 @@ for my $i (1 .. $#containers)
}
}
}
if (defined $ARGV[0] and $ARGV[0] eq "config")
{
my $nanoSecondsInSecond=1000000000;
@ -88,7 +88,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
if ($$_{'ncpu'} > $graphlimit){
$graphlimit = $$_{'ncpu'};
}
}
}
$graphlimit = $graphlimit * 100;
print "graph_title Docker container CPU usage\n";
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit $graphlimit\n";
@ -97,7 +97,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_period second\n";
print "graph_category virtualization\n";
print "graph_info This graph shows docker container CPU usage.\n";
foreach(@result)
{
print "$$_{'name'}.label $$_{'name'}\n";

View file

@ -81,7 +81,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_vlabel Bytes\n";
print "graph_category virtualization\n";
print "graph_info This graph shows docker container memory usage.\n";
foreach(@result)
{
print "$$_{'name'}.label $$_{'name'}\n";