mirror of
https://github.com/grafana/grafana.git
synced 2026-08-04 18:43:10 -05:00
Alerting: Fix erroneous use of grafana-cli/logger. (#89037)
Can't see how this was intentional, likely just a typo.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user