[controller] Fix internal hook and reduce image size #25
go_lint.yaml
on: pull_request
Go linter for images
13s
Annotations
10 errors and 3 warnings
Go linter for images
Error return value of `fl.Parse` is not checked (errcheck)
|
Go linter for images
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
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
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
Go linter for images
var-naming: const NSCValidatorId should be NSCValidatorID (revive)
|
Go linter for images
var-naming: const SCValidatorId should be SCValidatorID (revive)
|
Go linter for images
unnecessary trailing newline (whitespace)
|
Go linter for images
unnecessary trailing newline (whitespace)
|
Go linter for images
unnecessary trailing newline (whitespace)
|
Go linter for images
ineffectual assignment to err (ineffassign)
|
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 use a deprecated Node.js version 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/csi-nfs/csi-nfs. Supported file pattern: go.sum
|