From c698dc97842cf0e63e79d2be11778bfaa431e648 Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Tue, 4 Aug 2015 16:48:19 -0600 Subject: [PATCH] Build & unit test fixup --- plugins/lustre2/lustre2.go | 2 -- testutil/accumulator.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/lustre2/lustre2.go b/plugins/lustre2/lustre2.go index 72a83e5f1..95b6bdbf7 100644 --- a/plugins/lustre2/lustre2.go +++ b/plugins/lustre2/lustre2.go @@ -1,5 +1,3 @@ -// +build linux - /* Lustre 2.x telegraf plugin diff --git a/testutil/accumulator.go b/testutil/accumulator.go index 0f258904c..db3a67e66 100644 --- a/testutil/accumulator.go +++ b/testutil/accumulator.go @@ -128,6 +128,7 @@ func (a *Accumulator) HasIntValue(measurement string) bool { return false } +// HasUIntValue returns true if the measurement has a UInt value func (a *Accumulator) HasUIntValue(measurement string) bool { for _, p := range a.Points { if p.Measurement == measurement {