Skip to content

test create metrics collector in hub #192

test create metrics collector in hub

test create metrics collector in hub #192

Triggered via pull request February 2, 2024 15:42
Status Failure
Total duration 2m 54s
Artifacts

lint.yaml

on: pull_request
Formatters + Linters (Static Analysis) for Go
2m 44s
Formatters + Linters (Static Analysis) for Go
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Formatters + Linters (Static Analysis) for Go: collectors/metrics/pkg/simulator/simulator.go#L70
decoder.Decode undefined (type expfmt.Decoder has no field or method Decode)
Formatters + Linters (Static Analysis) for Go: collectors/metrics/pkg/metricsclient/metricsclient.go#L103
c.metrics.GaugeRequestRetrieve.WithLabelValues(c.metricsName, "200").Inc undefined (type prometheus.Gauge has no field or method Inc)
Formatters + Linters (Static Analysis) for Go: operators/multiclusterobservability/pkg/config/config.go#L635
ocpClient.ConfigV1().ClusterVersions undefined (type "github.com/openshift/client-go/config/clientset/versioned/typed/config/v1".ConfigV1Interface has no field or method ClusterVersions)
Formatters + Linters (Static Analysis) for Go
Process completed with exit code 2.
Formatters + Linters (Static Analysis) for Go
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.