Skip to content

Commit

Permalink
update config val
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway committed Dec 5, 2023
1 parent 9c2fea0 commit 275716c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/discovery/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func AddKongProperties(rootProps properties.Properties) {
rootProps.AddIntProperty(cfgKongProxyPortHttp, 80, "The Kong proxy http port")
rootProps.AddBoolProperty(cfgKongProxyPortHttpDisabled, false, "Set to true to disable adding an http endpoint to discovered routes")
rootProps.AddIntProperty(cfgKongProxyPortHttps, 443, "The Kong proxy https port")
rootProps.AddStringProperty(cfgKongProxyBasePath, "", "The base path for the Kong proxy endpoint")
rootProps.AddBoolProperty(cfgKongProxyPortHttpsDisabled, false, "Set to true to disable adding an https endpoint to discovered routes")
rootProps.AddStringProperty(cfgKongProxyBasePath, "", "The base path for the Kong proxy endpoint")
rootProps.AddStringSliceProperty(cfgKongSpecURLPaths, []string{}, "URL paths that the agent will look in for spec files")
rootProps.AddStringProperty(cfgKongSpecLocalPath, "", "Local paths where the agent will look for spec files")
rootProps.AddStringProperty(cfgKongSpecFilter, "", "SDK Filter format. Empty means filters are ignored.")
Expand Down Expand Up @@ -83,7 +83,7 @@ type KongPortConfig struct {

type KongPortSettingsConfig struct {
Number int `config:"number"`
Disable bool `config:"disable"`
Disable bool `config:"disabled"`
}

type KongSpecConfig struct {
Expand Down

0 comments on commit 275716c

Please sign in to comment.