Subject: | [PATCH 2/3] documentation: correct typo in example from POD |
Date: | Sun, 12 Apr 2009 16:10:19 -0700 |
To: | bug-ganglia-gmetric-xs [...] rt.cpan.org |
From: | Carlo Marcelo Arenas Belon <carenas [...] sajinet.com.pe> |
should use "units" instead of "unit"
Signed-off-by: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
---
lib/Ganglia/Gmetric/XS.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Ganglia/Gmetric/XS.pm b/lib/Ganglia/Gmetric/XS.pm
index 5dd3ae7..5311d23 100644
--- a/lib/Ganglia/Gmetric/XS.pm
+++ b/lib/Ganglia/Gmetric/XS.pm
@@ -45,7 +45,7 @@ Ganglia::Gmetric::XS - send a metric value to gmond with libganglia C library
$gg->send(name => "db_conn",
value => 32,
type => "uint32",
- unit => "connection",
+ units => "connection",
);
=head1 DESCRIPTION