chore: improve lint #1360
test.yml
on: push
lint
26s
Run Gosec Security Scanner
3m 22s
releaser-test
6m 18s
build
3m 12s
build-cli-docker-image-test
9m 36s
Annotations
5 errors
lint:
pkg/ctl/credentialplugin/gettoken.go#L15
field `privateIpAddress` is unused (unused)
|
lint:
pkg/ctl/credentialplugin/gettoken.go#L16
field `stsEndpoint` is unused (unused)
|
lint:
pkg/ctl/credentialplugin/gettoken.go#L18
field `apiVersion` is unused (unused)
|
lint:
pkg/ctl/credentialplugin/gettoken.go#L19
field `cacheDir` is unused (unused)
|
lint
issues found
|