Skip to content

build(deps): bump github.com/prometheus/procfs from 0.8.0 to 0.15.1 #351

build(deps): bump github.com/prometheus/procfs from 0.8.0 to 0.15.1

build(deps): bump github.com/prometheus/procfs from 0.8.0 to 0.15.1 #351

Triggered via pull request August 21, 2024 06:17
Status Failure
Total duration 33s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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/fibrechannel_linux.go#L129
cannot use host.Name (variable of type *string) as string value in argument to prometheus.MustNewConstMetric (typecheck)
lint: collector/fibrechannel_linux.go#L132
cannot use host.Counters.DumpedFrames (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L133
cannot use host.Counters.ErrorFrames (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L134
cannot use host.Counters.InvalidCRCCount (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L135
cannot use host.Counters.RXFrames (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L136
cannot use host.Counters.RXWords (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L137
cannot use host.Counters.TXFrames (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L138
cannot use host.Counters.TXWords (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)
lint: collector/fibrechannel_linux.go#L139
cannot use host.Counters.SecondsSinceLastReset (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)