refactor: misleading host deprecation warning (#5194)

The host deprecation to sever.host is misleading this adjusts the message to be accurate.
pull/5195/head^2
Matthieu7503 2023-04-08 13:22:06 +02:00 committed by GitHub
parent 79a5df2db3
commit 13a45bd360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ var deprecations = map[string]Deprecation{
}, },
"host": { "host": {
Version: model.SemanticVersion{Major: 4, Minor: 30}, Version: model.SemanticVersion{Major: 4, Minor: 30},
Key: "logs_file", Key: "host",
NewKey: "server.host", NewKey: "server.host",
AutoMap: true, AutoMap: true,
MapFunc: nil, MapFunc: nil,