Revert abandonned changes to proxycfg for Ent test consistency

This commit is contained in:
Paul Banks 2021-09-13 12:38:12 +01:00
parent a9119e36a5
commit 20d0bf81f7
1 changed files with 2 additions and 2 deletions

View File

@ -154,8 +154,8 @@ func (s *handlerIngressGateway) handleUpdate(ctx context.Context, u cache.Update
func makeUpstream(g *structs.GatewayService) structs.Upstream {
upstream := structs.Upstream{
DestinationName: g.Service.Name,
DestinationNamespace: g.Service.NamespaceOrEmpty(),
DestinationPartition: g.Gateway.PartitionOrEmpty(),
DestinationNamespace: g.Service.NamespaceOrDefault(),
DestinationPartition: g.Gateway.PartitionOrDefault(),
LocalBindPort: g.Port,
IngressHosts: g.Hosts,
// Pass the protocol that was configured on the ingress listener in order