diff --git a/adapter/internal/discovery/xds/server.go b/adapter/internal/discovery/xds/server.go index 8aaa1f1f0..2c45800c7 100644 --- a/adapter/internal/discovery/xds/server.go +++ b/adapter/internal/discovery/xds/server.go @@ -563,8 +563,7 @@ func PopulateInternalMaps(adapterInternalAPI *model.AdapterInternalAPI, labels, } err := UpdateOrgAPIMap(vHosts, labels, listenerName, sectionName, adapterInternalAPI) - for vhost, _ := range vHosts { - logger.LoggerAPI.Infof("vhost::: %+v, %+v, %+v", vhost, adapterInternalAPI.AIProvider.Enabled, adapterInternalAPI.GetSubscriptionValidation()) + for vhost := range vHosts { if adapterInternalAPI.AIProvider.Enabled && adapterInternalAPI.GetSubscriptionValidation() { vHostToSubscriptionBasedAIRLMap[vhost] = true } else { diff --git a/adapter/internal/oasparser/envoyconf/http_filters.go b/adapter/internal/oasparser/envoyconf/http_filters.go index a90b424e7..cedd7784b 100644 --- a/adapter/internal/oasparser/envoyconf/http_filters.go +++ b/adapter/internal/oasparser/envoyconf/http_filters.go @@ -51,6 +51,7 @@ import ( // HTTPExternalProcessor HTTP filter const HTTPExternalProcessor = "envoy.filters.http.ext_proc" +// RatelimitFilterName Ratelimit filter name const RatelimitFilterName = "envoy.filters.http.ratelimit" // getHTTPFilters generates httpFilter configuration