Updating error message for invalid topology.

This commit is contained in:
Kris Childress 2016-11-07 23:51:07 -08:00
parent b8d2301812
commit 729598a4ae
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ func buildCloudupTags(cluster *api.Cluster) (map[string]struct{}, error) {
} else if cluster.Spec.Topology.Masters == api.TopologyPrivate && cluster.Spec.Topology.Nodes == api.TopologyPrivate {
tags["_topology_private"] = struct{}{}
} else {
return nil, fmt.Errorf("Unable to parse topology")
return nil, fmt.Errorf("Unable to parse topology. Unsupported topology configuration. Masters and nodes must match!")
}
if fi.BoolValue(cluster.Spec.IsolateMasters) {