fix(tests): make test policies compatible with newer ubuntu #4835
Annotations
12 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/enforcer/bpflsm/mapHelpers.go#L72
comment on exported method BPFEnforcer.DeleteContainerInnerMap should be of the form "DeleteContainerInnerMap ..."
|
Run Revive Action on KubeArmor:
KubeArmor/enforcer/bpflsm/mapHelpers.go#L45
comment on exported method BPFEnforcer.CreateContainerInnerMap should be of the form "CreateContainerInnerMap ..."
|
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/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
Run Revive Action on KubeArmor:
KubeArmor/feeder/feeder.go#L40
comment on exported const QueueSize should be of the form "QueueSize ..."
|
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/feeder/feeder.go#L57
exported type EventStructs should have comment or be unexported
|
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/feeder/feeder.go#L112
comment on exported method EventStructs.RemoveAlertStruct should be of the form "RemoveAlertStruct ..."
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L19
exported type TlsConfig should have comment or be unexported
|
Loading