Alerting: Wire recording rules feature toggle into limits struct (#87778)

Wire toggle into limits
This commit is contained in:
Alexander Weaver
2024-05-14 07:44:14 -05:00
committed by GitHub
parent fa66816be4
commit e39658097f
5 changed files with 36 additions and 17 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func (srv TestingApiSrv) RouteTestGrafanaRuleConfig(c *contextmodel.ReqContext,
srv.cfg.BaseInterval,
c.SignedInUser.GetOrgID(),
folder.UID,
RuleLimitsFromConfig(srv.cfg),
RuleLimitsFromConfig(srv.cfg, srv.featureManager),
)
if err != nil {
return ErrResp(http.StatusBadRequest, err, "")