Skip to content

Commit 617b51d

Browse files
prombotSuperQ
andauthored
Synchronize common files from prometheus/prometheus (#606)
* Update common Prometheus files Signed-off-by: prombot <[email protected]> * Fixup gofumpt. Signed-off-by: SuperQ <[email protected]> --------- Signed-off-by: prombot <[email protected]> Signed-off-by: SuperQ <[email protected]> Co-authored-by: SuperQ <[email protected]>
1 parent 057bec8 commit 617b51d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
- name: Lint
3636
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
3737
with:
38-
version: v1.55.2
38+
version: v1.56.2

Makefile.common

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161
SKIP_GOLANGCI_LINT :=
6262
GOLANGCI_LINT :=
6363
GOLANGCI_LINT_OPTS ?=
64-
GOLANGCI_LINT_VERSION ?= v1.55.2
64+
GOLANGCI_LINT_VERSION ?= v1.56.2
6565
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
6666
# windows isn't included here because of the path separator being different.
6767
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))

model/fingerprinting_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ func TestFingerprintFromString(t *testing.T) {
3333
}
3434

3535
f, err = ParseFingerprint(fs)
36-
3736
if err != nil {
3837
t.Errorf("unexpected error while getting Fingerprint from string: %s", err.Error())
3938
}

0 commit comments

Comments
 (0)