Fill in the segment in the QuerySource for prepared query lookups

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

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

Loading…
Cancel
Save