mirror of https://github.com/status-im/consul.git
agent: Copy ServerName config
This commit is contained in:
parent
961a00c496
commit
441d613e1b
|
@ -189,6 +189,7 @@ func (a *Agent) consulConfig() *consul.Config {
|
||||||
base.CAFile = a.config.CAFile
|
base.CAFile = a.config.CAFile
|
||||||
base.CertFile = a.config.CertFile
|
base.CertFile = a.config.CertFile
|
||||||
base.KeyFile = a.config.KeyFile
|
base.KeyFile = a.config.KeyFile
|
||||||
|
base.ServerName = a.config.ServerName
|
||||||
|
|
||||||
// Setup the ServerUp callback
|
// Setup the ServerUp callback
|
||||||
base.ServerUp = a.state.ConsulServerUp
|
base.ServerUp = a.state.ConsulServerUp
|
||||||
|
|
Loading…
Reference in New Issue