Skip to content

proccess_collector: add wasip1 stub #1010

proccess_collector: add wasip1 stub

proccess_collector: add wasip1 stub #1010

Triggered via pull request September 25, 2023 06:44
Status Failure
Total duration 32s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: prometheus/build_info_collector.go#L1
: # github.com/prometheus/client_golang/prometheus [github.com/prometheus/client_golang/prometheus.test]
lint: prometheus/process_collector_wasip1.go#L16
canCollectProcess redeclared in this block
lint: prometheus/process_collector_other.go#L23
other declaration of canCollectProcess
lint: prometheus/process_collector_wasip1.go#L20
method processCollector.processCollect already declared at prometheus/process_collector_other.go:28:28 (typecheck)
lint: prometheus/collectors/collectors.go#L18
could not import github.com/prometheus/client_golang/prometheus (-: # github.com/prometheus/client_golang/prometheus
lint: prometheus/process_collector_wasip1.go#L16
canCollectProcess redeclared in this block
lint: prometheus/process_collector_other.go#L23
other declaration of canCollectProcess
lint: prometheus/process_collector_wasip1.go#L20
method processCollector.processCollect already declared at prometheus/process_collector_other.go:28:28) (typecheck)
lint: prometheus/example_clustermanager_test.go#L20
could not import github.com/prometheus/client_golang/prometheus (-: # github.com/prometheus/client_golang/prometheus [github.com/prometheus/client_golang/prometheus.test]
lint: prometheus/process_collector_wasip1.go#L16
canCollectProcess redeclared in this block