Merge pull request #1607 from justinsb/single_az_ha

Make etcd-members-in-same-instance-group into a warning
This commit is contained in:
Chris Love 2017-01-24 23:01:32 -07:00 committed by GitHub
commit 1903d19dc2
1 changed files with 1 additions and 2 deletions

View File

@ -152,8 +152,7 @@ func (c *populateClusterSpec) run() error {
instanceGroupName := fi.StringValue(m.InstanceGroup)
if etcdInstanceGroups[instanceGroupName] != nil {
// Maybe this should just be a warning
return fmt.Errorf("EtcdMembers are in the same InstanceGroup %q in etcd-cluster %q", instanceGroupName, etcd.Name)
glog.Warningf("EtcdMembers are in the same InstanceGroup %q in etcd-cluster %q (fault-tolerance may be reduced)", instanceGroupName, etcd.Name)
}
//if clusterSubnets[zone] == nil {