From: Sebastian Harl Date: Tue, 5 Jun 2007 21:29:52 +0000 (+0200) Subject: MyPlugin.pm: Set max value to 65535 instead of undef. X-Git-Tag: collectd-4.0.2-1~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3050e041c505febe358b755514d67e525bccb38c;p=pkg-collectd.git MyPlugin.pm: Set max value to 65535 instead of undef. The current handling of undefined values is not quite what it is supposed to be. --- diff --git a/debian/examples/MyPlugin.pm b/debian/examples/MyPlugin.pm index 3c9121f..1b98d5b 100644 --- a/debian/examples/MyPlugin.pm +++ b/debian/examples/MyPlugin.pm @@ -25,7 +25,7 @@ my $dataset = name => 'my_ds', type => Collectd::DS_TYPE_GAUGE, min => 0, - max => undef, + max => 65535, }, ];