From 3050e041c505febe358b755514d67e525bccb38c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 5 Jun 2007 23:29:52 +0200 Subject: [PATCH] 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. --- debian/examples/MyPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, ]; -- 2.30.2