Adjust the Status of NonAdminBackup #66
ci.yml
on: pull_request
container-check
1m 10s
project-check
34s
Matrix: golang-check
Annotations
11 errors
golang-check (1.21):
api/v1alpha1/nonadminbackup_types.go#L17
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
|
golang-check (1.21):
api/v1alpha1/nonadminbackup_types.go#L24
exported: comment on exported type NonAdminBackupPhase should be of the form "NonAdminBackupPhase ..." (with optional leading article) (revive)
|
golang-check (1.21):
api/v1alpha1/nonadminbackup_types.go#L38
exported: comment on exported type NonAdminCondition should be of the form "NonAdminCondition ..." (with optional leading article) (revive)
|
golang-check (1.21):
api/v1alpha1/nonadminbackup_types.go#L51
fieldalignment: struct with 24 pointer bytes could be 16 (govet)
|
golang-check (1.21):
api/v1alpha1/nonadminbackup_types.go#L62
fieldalignment: struct with 56 pointer bytes could be 48 (govet)
|
golang-check (1.21):
api/v1alpha1/nonadminbackup_types.go#L79
fieldalignment: struct with 344 pointer bytes could be 336 (govet)
|
golang-check (1.21):
internal/common/function/function.go#L123
exported: exported function UpdateNonAdminPhase should have comment or be unexported (revive)
|
golang-check (1.21):
internal/common/function/function.go#L155
exported: exported function UpdateNonAdminBackupCondition should have comment or be unexported (revive)
|
golang-check (1.21):
internal/common/function/function.go#L165
add-constant: string literal "" appears, at least, 3 times, create a named constant for it (revive)
|
golang-check (1.21):
internal/common/function/function.go#L234
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
golang-check (1.20)
The job was canceled because "_1_21" failed.
|