Browse Source

Fill in the segment in the QuerySource for prepared query lookups

pull/3431/head
Kyle Havlovitz 7 years ago
parent
commit
baa501e0c5
No known key found for this signature in database
GPG Key ID: 8A5E6B173056AD6C
  1. 1
      agent/dns.go

1
agent/dns.go

@ -778,6 +778,7 @@ func (d *DNSServer) preparedQueryLookup(network, datacenter, query string, req,
// relative to ourself on the server side.
Agent: structs.QuerySource{
Datacenter: d.agent.config.Datacenter,
Segment: d.agent.config.Segment,
Node: d.agent.config.NodeName,
},
}

Loading…
Cancel
Save