Alerting: Remove Multiorg alertmangaer from the top-level services (#38506)

Removes the registration of the multi-org alertmanager, it is started as a subservice of ngalerting.
This commit is contained in:
gotjosh
2021-08-24 18:11:28 +01:00
committed by GitHub
parent 2f27a5240b
commit 14a0519338
2 changed files with 1 additions and 3 deletions

View File

@@ -385,7 +385,7 @@ func (hs *HTTPServer) registerRoutes() {
})
apiRoute.Get("/alert-notifiers", reqEditorRole, routing.Wrap(
GetAlertNotifiers(hs.MultiOrgAlertmanager != nil && hs.Cfg.IsNgAlertEnabled())),
GetAlertNotifiers(hs.Cfg.IsNgAlertEnabled())),
)
apiRoute.Group("/alert-notifications", func(alertNotifications routing.RouteRegister) {