From 275716c5ec7496768919cc70d7828405151cb797 Mon Sep 17 00:00:00 2001 From: Jason Collins Date: Tue, 5 Dec 2023 14:56:24 -0700 Subject: [PATCH] update config val --- pkg/discovery/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/discovery/config/config.go b/pkg/discovery/config/config.go index 7586f6a..992bd7f 100644 --- a/pkg/discovery/config/config.go +++ b/pkg/discovery/config/config.go @@ -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.") @@ -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 {