bug: watch local mesh gateways in non-default partitions with agentless (#14799)

This commit is contained in:
Ashwin Venkatesh 2022-09-29 13:19:04 -04:00 committed by GitHub
parent 38b5367d42
commit 4ba260958c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,7 +319,7 @@ func (s *handlerUpstreams) resetWatchesFromChain(
}
case structs.MeshGatewayModeLocal:
gk = GatewayKey{
Partition: s.source.NodePartitionOrDefault(),
Partition: s.proxyID.PartitionOrDefault(),
Datacenter: s.source.Datacenter,
}
}