mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: validate condition before updating rulegroup (#33367)
* Alerting: validate condition before updating rulegroup * Apply suggestions from code review
This commit is contained in:
committed by
GitHub
parent
643e7af3e0
commit
7ccb022c03
@@ -84,7 +84,7 @@ func (api *API) RegisterAPIEndpoints() {
|
||||
api.RegisterRulerApiEndpoints(NewForkedRuler(
|
||||
api.DatasourceCache,
|
||||
NewLotexRuler(proxy, logger),
|
||||
RulerSrv{store: api.RuleStore, log: logger},
|
||||
RulerSrv{DatasourceCache: api.DatasourceCache, store: api.RuleStore, log: logger},
|
||||
reg,
|
||||
))
|
||||
api.RegisterTestingApiEndpoints(TestingApiSrv{
|
||||
|
||||
Reference in New Issue
Block a user