Skip to content

fix(collector): fix lint and build errors for go collector #35

fix(collector): fix lint and build errors for go collector

fix(collector): fix lint and build errors for go collector #35

Triggered via pull request December 11, 2023 10:29
Status Failure
Total duration 34s
Artifacts

lint_and_test_collector.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Lint: collector/metrics/metric_collector.go#L106
printf: Sprintf format %s has arg addr of wrong type int (govet)
Lint: collector/metrics/metric_collector.go#L112
printf: Errorf format %s has arg addr of wrong type int (govet)
Lint
issues found
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/