Build & unit test fixup
This commit is contained in:
parent
77dd1e3d45
commit
c698dc9784
|
@ -1,5 +1,3 @@
|
||||||
// +build linux
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Lustre 2.x telegraf plugin
|
Lustre 2.x telegraf plugin
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,7 @@ func (a *Accumulator) HasIntValue(measurement string) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// HasUIntValue returns true if the measurement has a UInt value
|
||||||
func (a *Accumulator) HasUIntValue(measurement string) bool {
|
func (a *Accumulator) HasUIntValue(measurement string) bool {
|
||||||
for _, p := range a.Points {
|
for _, p := range a.Points {
|
||||||
if p.Measurement == measurement {
|
if p.Measurement == measurement {
|
||||||
|
|
Loading…
Reference in New Issue