summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5885006)
raw | patch | inline | side by side (parent: 5885006)
author | Florian Forster <octo@collectd.org> | |
Wed, 14 Dec 2011 12:02:16 +0000 (13:02 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 14 Dec 2011 12:02:16 +0000 (13:02 +0100) |
Thanks to Sergey for catching this!
Change-Id: I4bbb609079734cd54d68f77681ea742b4eb83239
Change-Id: I4bbb609079734cd54d68f77681ea742b4eb83239
src/collectd-perl.pod | patch | blob | history |
diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod
index 6b44722cfe808605603a549ac3690c5998bb1eb7..d5401dd4c7aac55bf1f08d8c5cf5ecbd0c9ff733 100644 (file)
--- a/src/collectd-perl.pod
+++ b/src/collectd-perl.pod
sub foobar_read
{
- my $vl = { plugin => 'foobar' };
+ my $vl = { plugin => 'foobar', type => 'gauge' };
$vl->{'values'} = [ rand(42) ];
- plugin_dispatch_values ('gauge', $vl);
+ plugin_dispatch_values ($vl);
return 1;
}