fix missing webhook url
This commit is contained in:
parent
c9d747d7a4
commit
9ad513d307
|
@ -97,6 +97,8 @@ func RetrieveChannel(ch *alerting.Channel) (*alerting.Channel, error) {
|
|||
case alerting.ChannelWebhook:
|
||||
if ch.Webhook == nil {
|
||||
ch.Webhook = refCh.Webhook
|
||||
}else {
|
||||
ch.Webhook.URL = refCh.Webhook.URL
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue