Skip to content

fix tests

fix tests #433

Triggered via push October 17, 2024 07:09
Status Failure
Total duration 35s
Artifacts
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#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)
lint: collector/fibrechannel_linux.go#L140
cannot use host.Counters.InvalidTXWordCount (variable of type *uint64) as uint64 value in argument to c.pushCounter (typecheck)