Alerting: Replace VictorOps receiver with the one from alerting repository (#60543)

* replace victorops with one from alerting

* update other usages
This commit is contained in:
Yuri Tseretyan
2022-12-20 04:55:41 -05:00
committed by GitHub
parent d7b555c405
commit 35090c376c
8 changed files with 8 additions and 433 deletions

View File

@@ -507,7 +507,7 @@ func (m *migration) validateAlertmanagerConfig(orgID int64, config *PostableUser
}
factoryConfig, err := channels.NewFactoryConfig(cfg, nil, decryptFunc, nil, nil, func(ctx ...interface{}) channels.Logger {
return &channels.FakeLogger{}
})
}, setting.BuildVersion)
if err != nil {
return err
}