diff --git a/pkg/services/ngalert/state/historian/model/rule.go b/pkg/services/ngalert/state/historian/model/rule.go index 288a84a8e6e..b063ad8227a 100644 --- a/pkg/services/ngalert/state/historian/model/rule.go +++ b/pkg/services/ngalert/state/historian/model/rule.go @@ -4,7 +4,6 @@ import ( "context" "strconv" - "github.com/grafana/grafana/pkg/cmd/grafana-cli/logger" "github.com/grafana/grafana/pkg/infra/log" "github.com/grafana/grafana/pkg/services/ngalert/models" ) @@ -22,7 +21,7 @@ type RuleMeta struct { Condition string } -func NewRuleMeta(r *models.AlertRule, log log.Logger) RuleMeta { +func NewRuleMeta(r *models.AlertRule, logger log.Logger) RuleMeta { dashUID, ok := r.Annotations[models.DashboardUIDAnnotation] var panelID int64 if ok {