I think I did it.

This commit is contained in:
Kate Taggart
2017-03-30 14:15:06 -07:00
committed by Alex Dadgar
parent 530cf03177
commit 4a4417d556
3 changed files with 7 additions and 6 deletions

View File

@@ -280,6 +280,7 @@ func (a *Agent) clientConfig() (*clientconfig.Config, error) {
// Setup the node
conf.Node = new(structs.Node)
conf.Node.Datacenter = a.config.Datacenter
conf.Node.Region = a.config.Region
conf.Node.Name = a.config.NodeName
conf.Node.Meta = a.config.Client.Meta
conf.Node.NodeClass = a.config.Client.NodeClass