agent: Copy ServerName config

This commit is contained in:
Armon Dadgar 2014-06-13 11:27:44 -07:00
parent 91373968a8
commit 0577ec21a8
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.CertFile = a.config.CertFile
base.KeyFile = a.config.KeyFile
base.ServerName = a.config.ServerName
// Setup the ServerUp callback
base.ServerUp = a.state.ConsulServerUp