diff --git a/collectors/infinibandMetric.go b/collectors/infinibandMetric.go index 63ae2ca..4c7615b 100644 --- a/collectors/infinibandMetric.go +++ b/collectors/infinibandMetric.go @@ -37,7 +37,7 @@ type InfinibandCollector struct { func (m *InfinibandCollector) Init(config json.RawMessage) error { // Check if already initialized - if !m.init { + if m.init { return nil }