Skip to content

Commit

Permalink
Fix range vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharsanan1 committed Sep 17, 2024
1 parent b7c3ba2 commit 190c741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions adapter/internal/discovery/xds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions adapter/internal/oasparser/envoyconf/http_filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 190c741

Please sign in to comment.