Skip to content

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

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

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

Triggered via pull request March 25, 2024 15:16
Status Failure
Total duration 24s
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