summaryrefslogtreecommitdiff
path: root/internal/configuration/schema
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2024-03-20 10:57:11 +1100
committerGitHub <noreply@github.com>2024-03-20 10:57:11 +1100
commitef9cbe4f6d955051ec9f31fb3d6138886463a24e (patch)
treefb11ba44d0a3bcceddb7467983321ffe33fc2ef0 /internal/configuration/schema
parentf9a11da159167fe818e2379dd293efb06728972e (diff)
fix(configuration): failure to map deprecated value correctly (#6964)
This fixes an issue where the deprecated server path was not properly mapped to the server address value and adds tests for these scenarios to prevent a regression. This was introduced in #6909 / 32424bf8c5f0abc7199689d82794e30d85d3abbd / v4.38.3. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/configuration/schema')
-rw-r--r--internal/configuration/schema/server.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/internal/configuration/schema/server.go b/internal/configuration/schema/server.go
index b4804ce1f..5347b41d0 100644
--- a/internal/configuration/schema/server.go
+++ b/internal/configuration/schema/server.go
@@ -17,17 +17,6 @@ type Server struct {
Buffers ServerBuffers `koanf:"buffers" json:"buffers" jsonschema:"title=Buffers" jsonschema_description:"The server buffers configuration."`
Timeouts ServerTimeouts `koanf:"timeouts" json:"timeouts" jsonschema:"title=Timeouts" jsonschema_description:"The server timeouts configuration."`
-
- /*
- // Deprecated: use address instead.
- Host string `koanf:"host" json:"host" jsonschema:"deprecated,title=Host"`
-
- // Deprecated: use address instead.
- Port int `koanf:"port" json:"port" jsonschema:"deprecated,title=Port"`
-
- // Deprecated: use address instead.
- Path string `koanf:"path" json:"path" jsonschema:"deprecated,title=Path"`
- */
}
// ServerEndpoints is the endpoints configuration for the HTTP server.