mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 13:13:11 +08:00
AlertingNG: remove warn/crit from eval prototype (#28334)
and misc cleanup
This commit is contained in:
@ -355,7 +355,7 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
if hs.Cfg.IsNgAlertEnabled() {
|
||||
apiRoute.Group("/alert-definitions", func(alertDefinitions routing.RouteRegister) {
|
||||
alertDefinitions.Get("/eval/:dashboardID/:panelID/:refID", reqEditorRole, Wrap(hs.AlertDefinitionEval))
|
||||
alertDefinitions.Post("/eval", reqEditorRole, bind(dtos.EvalAlertConditionsCommand{}), Wrap(hs.ConditionsEval))
|
||||
alertDefinitions.Post("/eval", reqEditorRole, bind(dtos.EvalAlertConditionCommand{}), Wrap(hs.ConditionEval))
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user