[bug] Fixed the panic for uninitialized docker daemon #5747
Annotations
12 warnings
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
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#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L58
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/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
|
Run Revive Action on KubeArmor:
KubeArmor/presets/protectEnv/preset.go#L154
parameter 'containerID' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/presets/protectEnv/preset.go#L154
parameter 'pidns' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/cert.go#L28
comment on exported const KubeArmor_ORG should be of the form "KubeArmor_ORG ..."
|
Run Revive Action on KubeArmor:
KubeArmor/presets/anonmapexec/preset.go#L29
exported const NAME should have comment (or a comment on this block) or be unexported
|
Loading