Skip to content

Commit

Permalink
fix: undo remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant committed Nov 6, 2024
1 parent fec48ae commit cba1570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/relayproxy/service/gofeatureflag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down

0 comments on commit cba1570

Please sign in to comment.