cluster: rename Zones to Cluster

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-10 19:16:36 +00:00
parent bedf62977f
commit 24059dc9ee
12 changed files with 123 additions and 115 deletions
+1 -1
View File
@@ -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),