Skip to content

Commit 80f4dee

Browse files
committed
remove unused func to satisfy linter
1 parent 3dffe36 commit 80f4dee

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/davecgh/go-spew v1.1.1
99
github.com/json-iterator/go v1.1.12
1010
github.com/prometheus/client_model v0.5.0
11-
github.com/prometheus/common v0.46.0
11+
github.com/prometheus/common v0.48.0
1212
github.com/prometheus/procfs v0.12.0
1313
golang.org/x/sys v0.16.0
1414
google.golang.org/protobuf v1.32.0
@@ -29,5 +29,3 @@ require (
2929
)
3030

3131
exclude github.com/prometheus/client_golang v1.12.1
32-
33-
replace github.com/prometheus/common => /home/owilliams/src/third_party/common

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
3333
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
3434
github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw=
3535
github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI=
36+
github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
37+
github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
3638
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
3739
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
3840
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=

prometheus/collectors/go_collector_go121_test.go

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -149,26 +149,3 @@ func withSchedulerMetrics() []string {
149149
"go_threads",
150150
}
151151
}
152-
153-
func withDebugMetrics() []string {
154-
return []string{
155-
"go_godebug_non_default_behavior_execerrdot_events_total",
156-
"go_godebug_non_default_behavior_gocachehash_events_total",
157-
"go_godebug_non_default_behavior_gocachetest_events_total",
158-
"go_godebug_non_default_behavior_gocacheverify_events_total",
159-
"go_godebug_non_default_behavior_http2client_events_total",
160-
"go_godebug_non_default_behavior_http2server_events_total",
161-
"go_godebug_non_default_behavior_installgoroot_events_total",
162-
"go_godebug_non_default_behavior_jstmpllitinterp_events_total",
163-
"go_godebug_non_default_behavior_multipartmaxheaders_events_total",
164-
"go_godebug_non_default_behavior_multipartmaxparts_events_total",
165-
"go_godebug_non_default_behavior_multipathtcp_events_total",
166-
"go_godebug_non_default_behavior_panicnil_events_total",
167-
"go_godebug_non_default_behavior_randautoseed_events_total",
168-
"go_godebug_non_default_behavior_tarinsecurepath_events_total",
169-
"go_godebug_non_default_behavior_tlsmaxrsasize_events_total",
170-
"go_godebug_non_default_behavior_x509sha1_events_total",
171-
"go_godebug_non_default_behavior_x509usefallbackroots_events_total",
172-
"go_godebug_non_default_behavior_zipinsecurepath_events_total",
173-
}
174-
}

0 commit comments

Comments
 (0)