From 2cc64f32913118d54dd57f9efb05c9dd9c977af6 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Fri, 27 Dec 2013 12:51:15 -0800 Subject: [PATCH] Update for the new Serf config --- consul/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/config.go b/consul/config.go index 05f9e855ae..1f40a1abf1 100644 --- a/consul/config.go +++ b/consul/config.go @@ -71,8 +71,8 @@ func DefaultConfig() *Config { conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig() // Ensure we don't have port conflicts - conf.SerfLANConfig.MemberlistConfig.Port = DefaultLANSerfPort - conf.SerfWANConfig.MemberlistConfig.Port = DefaultWANSerfPort + conf.SerfLANConfig.MemberlistConfig.BindPort = DefaultLANSerfPort + conf.SerfWANConfig.MemberlistConfig.BindPort = DefaultWANSerfPort // Disable shutdown on removal conf.RaftConfig.ShutdownOnRemove = false