Skip to content

Commit ac170e3

Browse files
Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 in the prometheus group (#502)
* Bump github.com/prometheus/client_golang in the prometheus group Bumps the prometheus group with 1 update: [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang). Updates `github.com/prometheus/client_golang` from 1.20.4 to 1.20.5 - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.20.4...v1.20.5) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch dependency-group: prometheus ... Signed-off-by: dependabot[bot] <[email protected]> * apply test to changed testfunctionality --------- 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 00978f5 commit ac170e3

File tree

9 files changed

+159
-149
lines changed

9 files changed

+159
-149
lines changed

.toolbox.mk

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

1919
## Tool Versions
20+
# renovate: packageName=github.com/golangci/golangci-lint/cmd/golangci-lint
2021
TB_GOLANGCI_LINT_VERSION ?= v1.61.0
22+
# renovate: packageName=github.com/goreleaser/goreleaser/v2
2123
TB_GORELEASER_VERSION ?= v2.3.2
24+
# renovate: packageName=github.com/norwoodj/helm-docs/cmd/helm-docs
2225
TB_HELM_DOCS_VERSION ?= v1.14.2
23-
TB_MOCKGEN_VERSION ?= v0.4.0
26+
# renovate: packageName=go.uber.org/mock/mockgen
27+
TB_MOCKGEN_VERSION ?= v0.5.0
28+
# renovate: packageName=github.com/bakito/semver
2429
TB_SEMVER_VERSION ?= v1.1.3
2530

2631
## Tool Installer
@@ -63,7 +68,7 @@ tb.reset:
6368
## Update Tools
6469
.PHONY: tb.update
6570
tb.update: tb.reset
66-
toolbox makefile -f $(TB_LOCALDIR)/Makefile \
71+
toolbox makefile --renovate -f $(TB_LOCALDIR)/Makefile \
6772
github.com/golangci/golangci-lint/cmd/golangci-lint \
6873
github.com/goreleaser/goreleaser/v2 \
6974
github.com/norwoodj/helm-docs/cmd/helm-docs \

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bakito/batch-job-controller
22

3-
go 1.22.2
3+
go 1.23.2
44

55
require (
66
github.com/ghodss/yaml v1.0.0
@@ -11,7 +11,7 @@ require (
1111
github.com/google/uuid v1.6.0
1212
github.com/onsi/ginkgo/v2 v2.20.2
1313
github.com/onsi/gomega v1.34.2
14-
github.com/prometheus/client_golang v1.20.4
14+
github.com/prometheus/client_golang v1.20.5
1515
github.com/prometheus/common v0.60.0
1616
github.com/robfig/cron/v3 v3.0.1
1717
go.uber.org/mock v0.5.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
122122
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
123123
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
124124
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
125-
github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI=
126-
github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
125+
github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+bR9r+8l63Y=
126+
github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
127127
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
128128
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
129129
github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA=

pkg/metrics/metrics_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ var _ = Describe("metrics", func() {
164164

165165
func checkMissingMetric(collector *Collector, name string) {
166166
err := testutil.CollectAndCompare(collector, strings.NewReader(""), name)
167-
Ω(err).Should(HaveOccurred())
168-
Ω(err.Error()).Should(Equal(fmt.Sprintf("expected metric name(s) not found: [%s]", name)))
167+
Ω(err).ShouldNot(HaveOccurred())
169168
}
170169

171170
func checkMetric(collector *Collector, help string, name string, labels map[string]string, value string) {

pkg/mocks/client/mock.go

Lines changed: 59 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)