Skip to content

Commit

Permalink
Merge pull request #2052 from AmaliMatharaarachchi/consul
Browse files Browse the repository at this point in the history
Fix internal map on api updates and refactor api delete
  • Loading branch information
AmaliMatharaarachchi authored Apr 1, 2024
2 parents 718a5c2 + 19d20eb commit e59ab52
Show file tree
Hide file tree
Showing 23 changed files with 1,229 additions and 1,093 deletions.
2 changes: 2 additions & 0 deletions adapter/internal/discovery/xds/conf/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[envoy]
enableIntelligentRouting = true
2 changes: 0 additions & 2 deletions adapter/internal/discovery/xds/marshaller.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const (
DeleteEvent
)

const blockedStatus string = "BLOCKED"

// MarshalConfig will marshal a Config struct - read from the config toml - to
// enfocer's CDS resource representation.
func MarshalConfig(config *config.Config) *enforcer.Config {
Expand Down
482 changes: 220 additions & 262 deletions adapter/internal/discovery/xds/semantic_versioning.go

Large diffs are not rendered by default.

Loading

0 comments on commit e59ab52

Please sign in to comment.