Hub metrics test #348
Annotations
6 errors and 1 warning
Linting, Formatting & vetting:
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)
|
Linting, Formatting & vetting:
operators/multiclusterobservability/controllers/placementrule/manifestwork.go#L461
createUpdateResourcesForHubMetricsCollection - result 0 (error) is always nil (unparam)
|
Linting, Formatting & vetting:
operators/multiclusterobservability/controllers/placementrule/predicate_func.go#L123
S1008: should use 'return e.Object.GetName() == hubEndpointOperatorName' instead of 'if e.Object.GetName() == hubEndpointOperatorName { return true }; return false' (gosimple)
|
Linting, Formatting & vetting:
operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go#L122
SA5011: possible nil pointer dereference (staticcheck)
|
Linting, Formatting & vetting:
operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go#L126
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
|
Linting, Formatting & vetting
Process completed with exit code 2.
|
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/.
|
The logs for this run have expired and are no longer available.
Loading