1
0
Fork 0

Remove unsuitable logic

master
Philip O'Toole 2 years ago
parent defde21281
commit ced80ae8bd

@ -371,10 +371,6 @@ func createCluster(cfg *Config, tlsConfig *tls.Config, hasPeers bool, str *store
}
if joins != nil && cfg.BootstrapExpect == 0 {
if hasPeers {
log.Println("preexisting node configuration detected, ignoring explicit join request")
return nil
}
// Explicit join operation requested, so do it.
j, err := joiner.Do(joins, str.ID(), cfg.RaftAdv, !cfg.RaftNonVoter)
if err != nil {

Loading…
Cancel
Save