projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051a9ad
)
Fix indentation of some closing curlies
author
Christian Bartolomäus
<use_v6@aglaz.de>
Wed, 31 Jul 2019 18:43:44 +0000
(20:43 +0200)
committer
GitHub
<noreply@github.com>
Wed, 31 Jul 2019 18:43:44 +0000
(20:43 +0200)
bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
patch
|
blob
|
history
diff --git
a/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
b/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
index
4c7c3fe
..
66359da
100644
(file)
--- a/
bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
+++ b/
bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
@@
-110,9
+110,9
@@
sub cpu_read {
$v{'type_instance'} = $cpu_instances[$key];
$v{'values'} = [ $counters[$key] ];
plugin_dispatch_values(\%v);
+ }
}
}
-}
sub df_read {
my $veid = shift;
@@
-137,7
+137,7
@@
sub df_read {
$v{'type_instance'} = $val;
$v{'values'} = [ $parts[5] * ($parts[6] - $parts[7]), $parts[5] * $parts[7] ];
plugin_dispatch_values(\%v);
-}
+
}
}
sub load_read {
@@
-180,7
+180,7
@@
sub processes_read {
$v{'type_instance'} = $key;
$v{'values'} = [ $ps_states->{$key} ];
plugin_dispatch_values(\%v);
-}
+
}
}
sub users_read {