cluster: generate ring keys on scan if missing

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-10-27 19:00:06 +00:00
parent 543824a54a
commit e5639b2f4e
4 changed files with 40 additions and 2 deletions
+4
View File
@@ -73,6 +73,10 @@ func (m *Cluster) scanMachines(opts *ScanOptions) error {
err = p.scan(opts)
return err != nil
})
m.ForEachMachine(func(p *Machine) bool {
err = p.scanWrapUp(opts)
return err != nil
})
return err
}