Skip to content

imporve: fix go lint #6

imporve: fix go lint

imporve: fix go lint #6

Triggered via pull request May 16, 2024 05:57
Status Failure
Total duration 2m 59s
Artifacts

ci.yml

on: pull_request
Matrix: pull-nauti-golang-ci
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 warnings
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
commentFormatting: put a space between `//` and comment text (gocritic)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
captLocal: `CIDRs' should not be capitalized (gocritic)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
commentFormatting: put a space between `//` and comment text (gocritic)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
commentFormatting: put a space between `//` and comment text (gocritic)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
G101: Potential hardcoded credentials (gosec)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
G402: TLS InsecureSkipVerify set true. (gosec)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
G601: Implicit memory aliasing in for loop. (gosec)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
The job was canceled because "_1_22_x_ubuntu-latest" failed.
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
commentFormatting: put a space between `//` and comment text (gocritic)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
captLocal: `CIDRs' should not be capitalized (gocritic)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
commentFormatting: put a space between `//` and comment text (gocritic)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
commentFormatting: put a space between `//` and comment text (gocritic)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
G101: Potential hardcoded credentials (gosec)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
G402: TLS InsecureSkipVerify set true. (gosec)
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
G601: Implicit memory aliasing in for loop. (gosec)
pull-nauti-golang-ci (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/nauti/nauti. Supported file pattern: go.sum
pull-nauti-golang-ci (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/nauti/nauti. Supported file pattern: go.sum