Improved container and host policy fuzzer #5019
Annotations
11 warnings
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L48
if block ends with a return statement, so drop this else and outdent its block
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L84
if block ends with a return statement, so drop this else and outdent its block
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L59
parameter 'c' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L132
redefinition of the built-in function new
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L42
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L544
comment on exported function HandleGRPCErrors should be of the form "HandleGRPCErrors ..."
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L565
comment on exported function GetBootTime should be of the form "GetBootTime ..."
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L578
exported function GetLabelsFromString should have comment or be unexported
|
Loading