Skip to content

Commit df4bc66

Browse files
committed
include cortexproject#5882 to changelog
Signed-off-by: Ben Ye <[email protected]> try fixing lint Signed-off-by: Ben Ye <[email protected]> try again Signed-off-by: Ben Ye <[email protected]>
1 parent 8953fbd commit df4bc66

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.golangci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ linters-settings:
1919
exclude: ./.errcheck-exclude
2020
goimports:
2121
local-prefixes: "github.com/cortexproject/cortex"
22+
revive:
23+
severity: error # We only want critical issues.
2224

2325
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"
2834

2935
run:
3036
timeout: 5m

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## 1.16.1 2024-04-23
66

77
* [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
99

1010
## 1.16.0 2023-11-20
1111

build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN GOARCH=$(go env GOARCH) && \
2323
chmod +x shfmt && \
2424
mv shfmt /usr/bin
2525

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
2727

2828
ENV HUGO_VERSION=v0.101.0
2929
RUN go install github.com/client9/misspell/cmd/[email protected] &&\

pkg/querier/testutils.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ package querier
22

33
import (
44
"context"
5-
"github.com/cortexproject/cortex/pkg/cortexpb"
6-
"github.com/cortexproject/cortex/pkg/util/limiter"
5+
76
"github.com/prometheus/common/model"
87
"github.com/prometheus/prometheus/model/labels"
98
"github.com/prometheus/prometheus/scrape"
109
"github.com/stretchr/testify/mock"
1110

11+
"github.com/cortexproject/cortex/pkg/cortexpb"
1212
"github.com/cortexproject/cortex/pkg/ingester/client"
1313
"github.com/cortexproject/cortex/pkg/prom1/storage/metric"
1414
"github.com/cortexproject/cortex/pkg/util/flagext"
15+
"github.com/cortexproject/cortex/pkg/util/limiter"
1516
"github.com/cortexproject/cortex/pkg/util/validation"
1617
)
1718

0 commit comments

Comments
 (0)