mirror of https://github.com/hashicorp/consul
Fill in the segment in the QuerySource for prepared query lookups
parent
7e565d7338
commit
baa501e0c5
|
@ -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…
Reference in New Issue