From 13a45bd36079a9758eebb7226879e9c4586a13a9 Mon Sep 17 00:00:00 2001 From: Matthieu7503 <62159609+Matthieu7503@users.noreply.github.com> Date: Sat, 8 Apr 2023 13:22:06 +0200 Subject: [PATCH] refactor: misleading host deprecation warning (#5194) The host deprecation to sever.host is misleading this adjusts the message to be accurate. --- internal/configuration/deprecation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/configuration/deprecation.go b/internal/configuration/deprecation.go index b49711898..d8eae81fb 100644 --- a/internal/configuration/deprecation.go +++ b/internal/configuration/deprecation.go @@ -59,7 +59,7 @@ var deprecations = map[string]Deprecation{ }, "host": { Version: model.SemanticVersion{Major: 4, Minor: 30}, - Key: "logs_file", + Key: "host", NewKey: "server.host", AutoMap: true, MapFunc: nil,