Skip to content

Commit 09bfb5e

Browse files
committed
lint: remove current unused fields
1 parent 6c91718 commit 09bfb5e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pkg/queryfrontend/protection.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ package queryfrontend
66
import (
77
"context"
88
"regexp"
9-
10-
"github.com/prometheus/prometheus/promql/parser"
11-
"github.com/thanos-io/thanos/internal/cortex/querier/queryrange"
129
)
1310

1411
// RuleAction represents the action to take when a protection rule is triggered.
@@ -55,11 +52,9 @@ func RuleActionToString(action RuleAction) string {
5552
}
5653
}
5754

58-
// thanosQueryReq wraps a query request with parsed PromQL and actor information.
55+
// thanosQueryReq wraps a query request with actor information.
5956
type thanosQueryReq struct {
60-
inner queryrange.Request
61-
parsed parser.Expr
62-
actor string
57+
actor string
6358
}
6459

6560
// Protection is the interface that all protection implementations must satisfy.

0 commit comments

Comments
 (0)