Skip to content

Commit

Permalink
Update promql_counter.go
Browse files Browse the repository at this point in the history
  • Loading branch information
caryttd committed Aug 31, 2023
1 parent 4fac073 commit df7c3ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/checks/promql_counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func (c CounterCheck) checkNode(ctx context.Context, node *parser.PromQLNode, en
}
} else {
metadata, err := c.prom.Metadata(ctx, s.Name)

if err != nil {
text, severity := textAndSeverityFromError(err, c.Reporter(), c.prom.Name(), Bug)
problems = append(problems, exprProblem{
Expand Down

0 comments on commit df7c3ac

Please # to comment.