agent: Copy ServerName config

This commit is contained in:
Armon Dadgar 2014-06-13 11:27:44 -07:00
parent 961a00c496
commit 441d613e1b
1 changed files with 1 additions and 0 deletions

View File

@ -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