Skip to content

Commit c9e5c1a

Browse files
Bump github.com/prometheus/common from 0.61.0 to 0.62.0 in the prometheus group (#525)
* Bump github.com/prometheus/common in the prometheus group Bumps the prometheus group with 1 update: [github.com/prometheus/common](https://github.com/prometheus/common). Updates `github.com/prometheus/common` from 0.61.0 to 0.62.0 - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md) - [Commits](prometheus/common@v0.61.0...v0.62.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor dependency-group: prometheus ... Signed-off-by: dependabot[bot] <[email protected]> * update test --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: bakito <[email protected]>
1 parent 10e24ce commit c9e5c1a

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.toolbox.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ TB_MOCKGEN ?= $(TB_LOCALBIN)/mockgen
1717
TB_SEMVER ?= $(TB_LOCALBIN)/semver
1818

1919
## Tool Versions
20-
TB_GOLANGCI_LINT_VERSION ?= v1.61.0
21-
TB_GORELEASER_VERSION ?= v2.3.2
20+
TB_GOLANGCI_LINT_VERSION ?= v1.63.4
21+
TB_GORELEASER_VERSION ?= v2.5.1
2222
TB_HELM_DOCS_VERSION ?= v1.14.2
2323
TB_MOCKGEN_VERSION ?= v0.5.0
2424
TB_SEMVER_VERSION ?= v1.1.3

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/onsi/ginkgo/v2 v2.22.2
1313
github.com/onsi/gomega v1.36.2
1414
github.com/prometheus/client_golang v1.20.5
15-
github.com/prometheus/common v0.61.0
15+
github.com/prometheus/common v0.62.0
1616
github.com/robfig/cron/v3 v3.0.1
1717
go.uber.org/mock v0.5.0
1818
go.uber.org/zap v1.27.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+
124124
github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
125125
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
126126
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
127-
github.com/prometheus/common v0.61.0 h1:3gv/GThfX0cV2lpO7gkTUwZru38mxevy90Bj8YFSRQQ=
128-
github.com/prometheus/common v0.61.0/go.mod h1:zr29OCN/2BsJRaFwG8QOBr41D6kkchKbpeNH7pAjb/s=
127+
github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io=
128+
github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I=
129129
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
130130
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
131131
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=

pkg/metrics/types_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ var _ = Describe("types", func() {
2727
err := results.Validate(cfg)
2828
Ω(err).ShouldNot(HaveOccurred())
2929
})
30-
It("should be invalid if prefix is not a valid prometheus metric name", func() {
31-
results["b b b"] = []metrics.Result{}
32-
err := results.Validate(cfg)
33-
Ω(err).Should(HaveOccurred())
34-
Ω(err.Error()).Should(HaveSuffix("is not a valid metric name"))
35-
})
3630
It("should be invalid if results is empty", func() {
3731
delete(results, "aaa")
3832
err := results.Validate(cfg)

0 commit comments

Comments
 (0)