File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,18 @@ linters-settings:
19
19
exclude : ./.errcheck-exclude
20
20
goimports :
21
21
local-prefixes : " github.com/cortexproject/cortex"
22
+ revive :
23
+ severity : error # We only want critical issues.
22
24
23
25
depguard :
24
- list-type : blacklist
25
- include-go-root : true
26
- packages-with-error-message :
27
- - github.com/go-kit/kit/log : " Use github.com/go-kit/log instead of github.com/go-kit/kit/log"
26
+ rules :
27
+ main :
28
+ list-mode : lax
29
+ files :
30
+ - $all
31
+ deny :
32
+ - pkg : " github.com/go-kit/kit/log"
33
+ desc : Use github.com/go-kit/log instead of github.com/go-kit/kit/log"
28
34
29
35
run :
30
36
timeout : 5m
Original file line number Diff line number Diff line change 5
5
## 1.16.1 2024-04-23
6
6
7
7
* [ ENHANCEMENT] Upgraded Docker base images to ` alpine:3.18 ` . #5684
8
- * [ ENHANCEMENT] Upgrade to go 1.21.9 #5879
8
+ * [ ENHANCEMENT] Upgrade to go 1.21.9 #5879 # 5882
9
9
10
10
## 1.16.0 2023-11-20
11
11
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN GOARCH=$(go env GOARCH) && \
23
23
chmod +x shfmt && \
24
24
mv shfmt /usr/bin
25
25
26
- RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/bin v1.51.2
26
+ RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/bin v1.54.1
27
27
28
28
ENV HUGO_VERSION=v0.101.0
29
29
RUN go install github.com/client9/misspell/cmd/
[email protected] &&\
Original file line number Diff line number Diff line change @@ -2,16 +2,17 @@ package querier
2
2
3
3
import (
4
4
"context"
5
- "github.com/cortexproject/cortex/pkg/cortexpb"
6
- "github.com/cortexproject/cortex/pkg/util/limiter"
5
+
7
6
"github.com/prometheus/common/model"
8
7
"github.com/prometheus/prometheus/model/labels"
9
8
"github.com/prometheus/prometheus/scrape"
10
9
"github.com/stretchr/testify/mock"
11
10
11
+ "github.com/cortexproject/cortex/pkg/cortexpb"
12
12
"github.com/cortexproject/cortex/pkg/ingester/client"
13
13
"github.com/cortexproject/cortex/pkg/prom1/storage/metric"
14
14
"github.com/cortexproject/cortex/pkg/util/flagext"
15
+ "github.com/cortexproject/cortex/pkg/util/limiter"
15
16
"github.com/cortexproject/cortex/pkg/util/validation"
16
17
)
17
18
You can’t perform that action at this time.
0 commit comments