agent: Copy ServerName config
This commit is contained in:
parent
91373968a8
commit
0577ec21a8
|
@ -189,6 +189,7 @@ func (a *Agent) consulConfig() *consul.Config {
|
|||
base.CAFile = a.config.CAFile
|
||||
base.CertFile = a.config.CertFile
|
||||
base.KeyFile = a.config.KeyFile
|
||||
base.ServerName = a.config.ServerName
|
||||
|
||||
// Setup the ServerUp callback
|
||||
base.ServerUp = a.state.ConsulServerUp
|
||||
|
|
Loading…
Reference in New Issue