Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
fixing api
Browse files Browse the repository at this point in the history
Signed-off-by: Sneha Chhabria <snchh@microsoft.com>
  • Loading branch information
snehachhabria committed Feb 24, 2021
1 parent 295f6a1 commit 11dfbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/envoy/lds/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewResponse(meshCatalog catalog.MeshCataloger, proxy *envoy.Proxy, _ *xds_d

// --- INGRESS -------------------
// Apply an ingress filter chain if there are any ingress routes
if ingressInboundPolicies, err := meshCatalog.GetIngressPoliciesForService(proxyServiceName, svcAccount); err != nil {
if ingressInboundPolicies, err := meshCatalog.GetIngressPoliciesForService(proxyServiceName); err != nil {
log.Error().Err(err).Msgf("Error getting ingress inbound traffic policies for service %s", proxyServiceName)
} else {
thereAreIngressRoutes := len(ingressInboundPolicies) > 0
Expand Down

0 comments on commit 11dfbbb

Please sign in to comment.