diff --git a/cluster/validation.go b/cluster/validation.go index 3663090f..78939470 100644 --- a/cluster/validation.go +++ b/cluster/validation.go @@ -12,8 +12,8 @@ func (c *Cluster) ValidateCluster() error { if len(c.ControlPlaneHosts) == 0 { return fmt.Errorf("Cluster must have at least one control plane host") } - if len(c.WorkerHosts) == 0 { - return fmt.Errorf("Cluster must have at least one worker plane host") + if len(c.EtcdHosts) == 0 { + return fmt.Errorf("Cluster must have at least one etcd plane host") } // validate hosts options