This reverts commit 326ea86a57.
This commit is contained in:
@@ -12,7 +12,6 @@ import (
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
|
||||
"github.com/grafana/grafana/pkg/services/quota"
|
||||
"github.com/grafana/grafana/pkg/util/cmputil"
|
||||
)
|
||||
|
||||
@@ -461,11 +460,6 @@ func (g RulesGroup) SortByGroupIndex() {
|
||||
})
|
||||
}
|
||||
|
||||
const (
|
||||
QuotaTargetSrv quota.TargetSrv = "ngalert"
|
||||
QuotaTarget quota.Target = "alert_rule"
|
||||
)
|
||||
|
||||
type ruleKeyContextKey struct{}
|
||||
|
||||
func WithRuleKey(ctx context.Context, ruleKey AlertRuleKey) context.Context {
|
||||
|
||||
Reference in New Issue
Block a user