Revert abandonned changes to proxycfg for Ent test consistency
This commit is contained in:
parent
d812a0edc7
commit
4cc1ccf892
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue