mirror of https://github.com/status-im/consul.git
Revert abandonned changes to proxycfg for Ent test consistency
This commit is contained in:
parent
a9119e36a5
commit
20d0bf81f7
|
@ -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