From 441d613e1bd96254c78c46ee7c1b35c161fc7295 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Fri, 13 Jun 2014 11:27:44 -0700 Subject: [PATCH] agent: Copy ServerName config --- command/agent/agent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/agent.go b/command/agent/agent.go index 77733bdc89..62784f8d68 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -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