Update for the new Serf config

This commit is contained in:
Armon Dadgar 2013-12-27 12:51:15 -08:00
parent 5c874584be
commit 2cc64f3291
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ func DefaultConfig() *Config {
conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig() conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig()
// Ensure we don't have port conflicts // Ensure we don't have port conflicts
conf.SerfLANConfig.MemberlistConfig.Port = DefaultLANSerfPort conf.SerfLANConfig.MemberlistConfig.BindPort = DefaultLANSerfPort
conf.SerfWANConfig.MemberlistConfig.Port = DefaultWANSerfPort conf.SerfWANConfig.MemberlistConfig.BindPort = DefaultWANSerfPort
// Disable shutdown on removal // Disable shutdown on removal
conf.RaftConfig.ShutdownOnRemove = false conf.RaftConfig.ShutdownOnRemove = false