[feat] add a v1alpha2 version of LinodeObjectStorageBucket #838
go-analyze.yml
on: pull_request
changes
10s
go-analyze
1m 31s
Annotations
6 errors and 1 warning
go-analyze:
api/v1alpha1/linodeobjectstoragebucket_conversion.go#L38
commentFormatting: put a space between `//` and comment text (gocritic)
|
go-analyze:
api/v1alpha1/linodeobjectstoragebucket_conversion.go#L37
commentedOutCode: may want to remove commented-out code (gocritic)
|
go-analyze:
cmd/main.go#L79
calculated cyclomatic complexity for function main is 16, max is 15 (cyclop)
|
go-analyze:
api/v1alpha1/linodeobjectstoragebucket_conversion.go#L39
Magic number: 2, in <operation> detected (mnd)
|
go-analyze:
api/v1alpha2/webhook_helpers.go#L90
directive `//nolint:gocritic // prefer no escapes` is unused for linter "gocritic" (nolintlint)
|
go-analyze
issues found
|
changes
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|