fix kubearmor monitor loading issue with clang-llvm 18 #4942
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/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
|
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/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/state/stateAgent.go#L123
parameter 'msg' 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/tls.go#L19
exported type TlsConfig should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L37
exported type TlsCredentialManager 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/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/cert.go#L30
exported const KubeArmor_CN should have comment (or a comment on this block) or be unexported
|
Loading