fix: maybeConfigureCluster called in the wrong place

This commit is contained in:
Derrick Hammer 2024-02-28 09:36:01 -05:00
parent fcf43e1f79
commit 586a6dc205
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 5 deletions

View File

@ -65,6 +65,11 @@ func NewManager() (*Manager, error) {
return nil, err return nil, err
} }
err = m.maybeConfigureCluster()
if err != nil {
return m, err
}
return m, nil return m, nil
} }
@ -87,11 +92,6 @@ func (m *Manager) ConfigureProtocol(name string, cfg ProtocolConfig) error {
return err return err
} }
err = m.maybeConfigureCluster()
if err != nil {
return err
}
return nil return nil
} }