Skip to content

build(deps): bump github.com/prometheus/common from 0.37.0 to 0.54.0 #323

build(deps): bump github.com/prometheus/common from 0.37.0 to 0.54.0

build(deps): bump github.com/prometheus/common from 0.37.0 to 0.54.0 #323

Triggered via pull request June 3, 2024 14:38
Status Failure
Total duration 34s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: node_exporter.go#L121
NewCollector not declared by package version (typecheck)
lint: node_exporter.go#L173
cannot use kingpin.CommandLine (variable of type *"gopkg.in/alecthomas/kingpin.v2".Application) as *"github.com/alecthomas/kingpin/v2".Application value in argument to flag.AddFlags (typecheck)
lint: collector/cpu_linux.go#L321
cannot use stats.CPU (variable of type map[int64]procfs.CPUStat) as []procfs.CPUStat value in argument to c.updateCPUStats (typecheck)
lint: collector/textfile_test.go#L127
cannot use kingpin.CommandLine (variable of type *"gopkg.in/alecthomas/kingpin.v2".Application) as *"github.com/alecthomas/kingpin/v2".Application value in argument to flag.AddFlags (typecheck)
lint
issues found