Fill in the segment in the QuerySource for prepared query lookups
This commit is contained in:
parent
b77a0aa932
commit
5ebea7f049
|
@ -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…
Reference in New Issue