diff --git a/embed/config.go b/embed/config.go index 1bbb3609de3..24214530163 100644 --- a/embed/config.go +++ b/embed/config.go @@ -229,6 +229,9 @@ func (cfg *configYAML) configFromFile(path string) error { cfg.ACUrls = []url.URL(u) } + if (cfg.Durl != "" || cfg.DNSCluster != "") && cfg.InitialCluster == cfg.InitialClusterFromName(cfg.Name) { + cfg.InitialCluster = "" + } if cfg.ClusterState == "" { cfg.ClusterState = ClusterStateFlagNew }