chore: improve lint #1358
test.yml
on: push
lint
30s
Run Gosec Security Scanner
2m 22s
releaser-test
9m 42s
build
1m 56s
build-cli-docker-image-test
9m 31s
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
|