Skip to content

Commit

Permalink
Rename config for remote directory resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
carabasdaniel committed Jun 27, 2023
1 parent 8b0fa57 commit 87ad888
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cc/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type Common struct {
Edge directory.Config `json:"directory"`

// Authorizer directory resolver configuration
DirectoryResolver client.Config `json:"directory_resolver"`
DirectoryResolver client.Config `json:"remote_directory"`

// Default OPA configuration
OPA runtime.Config `json:"opa"`
Expand Down Expand Up @@ -121,8 +121,8 @@ func NewConfig(configPath Path, log *zerolog.Logger, overrides Overrider, certsG

v.SetDefault("opa.max_plugin_wait_time_seconds", "30")

v.SetDefault("directory_resolver.address", "127.0.0.1:8282")
v.SetDefault("directory_resolver.insecure", "true")
v.SetDefault("remote_directory.address", "127.0.0.1:8282")
v.SetDefault("remote_directory.insecure", "true")

defaults(v)

Expand Down

0 comments on commit 87ad888

Please sign in to comment.