mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
Serf API changes
This commit is contained in:
parent
f193ed5a88
commit
f33a9c1d2d
@ -103,10 +103,10 @@ func (a *Agent) consulConfig() *consul.Config {
|
|||||||
base.SerfWANConfig.MemberlistConfig.BindAddr = a.config.SerfBindAddr
|
base.SerfWANConfig.MemberlistConfig.BindAddr = a.config.SerfBindAddr
|
||||||
}
|
}
|
||||||
if a.config.SerfLanPort != 0 {
|
if a.config.SerfLanPort != 0 {
|
||||||
base.SerfLANConfig.MemberlistConfig.Port = a.config.SerfLanPort
|
base.SerfLANConfig.MemberlistConfig.BindPort = a.config.SerfLanPort
|
||||||
}
|
}
|
||||||
if a.config.SerfWanPort != 0 {
|
if a.config.SerfWanPort != 0 {
|
||||||
base.SerfWANConfig.MemberlistConfig.Port = a.config.SerfWanPort
|
base.SerfWANConfig.MemberlistConfig.BindPort = a.config.SerfWanPort
|
||||||
}
|
}
|
||||||
if a.config.ServerAddr != "" {
|
if a.config.ServerAddr != "" {
|
||||||
base.RPCAddr = a.config.ServerAddr
|
base.RPCAddr = a.config.ServerAddr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user