cluster: rename Zones to Cluster
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
@@ -14,7 +14,7 @@ var cfg = &Config{
|
||||
}
|
||||
|
||||
// LoadZones loads all zones and machines in the config directory
|
||||
func (cfg *Config) LoadZones(resolve bool) (*cluster.Zones, error) {
|
||||
func (cfg *Config) LoadZones(resolve bool) (*cluster.Cluster, error) {
|
||||
return cluster.New(cfg.Base, cfg.Domain,
|
||||
cluster.ResolvePublicAddresses(resolve),
|
||||
cluster.WithLogger(log),
|
||||
|
||||
Reference in New Issue
Block a user