mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Fix initialization of InfinibandCollector
This commit is contained in:
parent
5263a974d1
commit
b19ae7a4db
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user