Fix initialization of InfinibandCollector

This commit is contained in:
Thomas Roehl 2022-02-07 15:43:57 +01:00
parent 5263a974d1
commit b19ae7a4db

View File

@ -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
}