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 d812a0edc7
commit 4cc1ccf892
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 { func makeUpstream(g *structs.GatewayService) structs.Upstream {
upstream := structs.Upstream{ upstream := structs.Upstream{
DestinationName: g.Service.Name, DestinationName: g.Service.Name,
DestinationNamespace: g.Service.NamespaceOrEmpty(), DestinationNamespace: g.Service.NamespaceOrDefault(),
DestinationPartition: g.Gateway.PartitionOrEmpty(), DestinationPartition: g.Gateway.PartitionOrDefault(),
LocalBindPort: g.Port, LocalBindPort: g.Port,
IngressHosts: g.Hosts, IngressHosts: g.Hosts,
// Pass the protocol that was configured on the ingress listener in order // Pass the protocol that was configured on the ingress listener in order