fix kubearmor monitor loading issue with clang-llvm 18 #4948
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/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/cert/tls.go#L19
type TlsConfig should be TLSConfig
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L41
func NewTlsCredentialManager should be NewTLSCredentialManager
|
Run Revive Action on KubeArmor:
KubeArmor/cert/cert.go#L29
don't use underscores in Go names; const KubeArmor_ORG should be KubeArmorORG
|
Run Revive Action on KubeArmor:
KubeArmor/cert/cert.go#L30
don't use underscores in Go names; const KubeArmor_CN should be KubeArmorCN
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L74
method CreateTlsClientCredentials should be CreateTLSClientCredentials
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L88
method CreateTlsServerCredentials should be CreateTLSServerCredentials
|
Loading