Signed-off-by: Alejandro Mery <amery@jpi.io>
@ -13,11 +13,11 @@ import (
func (m *Cluster) init(opts *ScanOptions) error {
for _, fn := range []func(*ScanOptions) error{
m.initZones,
m.initRegions,
m.scanZoneIDs,
m.scanSort,
m.scanGateways,
m.initCephMonitors,
} {
if err := fn(opts); err != nil {
return err
@ -25,9 +25,9 @@ func (m *Cluster) scan(opts *ScanOptions) error {
m.scanDirectory,
m.scanMachines,
m.scanCephMonitors,