From cba1570df52b5706f7de3f1f0c7f78c9a29c5eab Mon Sep 17 00:00:00 2001 From: Thomas Poignant Date: Wed, 6 Nov 2024 17:47:48 +0100 Subject: [PATCH] fix: undo remove code --- cmd/relayproxy/service/gofeatureflag.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/relayproxy/service/gofeatureflag.go b/cmd/relayproxy/service/gofeatureflag.go index ce1dcbf6389..e527351e120 100644 --- a/cmd/relayproxy/service/gofeatureflag.go +++ b/cmd/relayproxy/service/gofeatureflag.go @@ -319,6 +319,7 @@ func initNotifier(c []config.NotifierConf) ([]notifier.Notifier, error) { case config.SlackNotifier: if cNotif.WebhookURL == "" && cNotif.SlackWebhookURL != "" { // nolint zap.L().Warn("slackWebhookURL field is deprecated, please use webhookURL instead") + cNotif.WebhookURL = cNotif.SlackWebhookURL // nolint } notifiers = append(notifiers, &slacknotifier.Notifier{SlackWebhookURL: cNotif.WebhookURL})