Skip to content

[controller] Refactor code on linter issues and test improvements. #7

[controller] Refactor code on linter issues and test improvements.

[controller] Refactor code on linter issues and test improvements. #7

Triggered via pull request August 6, 2024 09:07
Status Failure
Total duration 25s
Artifacts

go_lint.yaml

on: pull_request
Go linter for images
16s
Go linter for images
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Go linter for images
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Go linter for images
unnecessary leading newline (whitespace)
Go linter for images
unnecessary trailing newline (whitespace)
Go linter for images
S1002: should omit comparison to bool constant, can be simplified to `!equal` (gosimple)
Go linter for images
Process completed with exit code 100.
Go linter for images
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Go linter for images
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Go linter for images
Restore cache failed: Dependencies file is not found in /opt/actions-runners/2/_work/sds-node-configurator/sds-node-configurator. Supported file pattern: go.sum