feat(config): reload global config when config file is updated #4901
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#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/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
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#L4
package comment should be of the form "Package state ..."
|
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/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
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#L42
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
|
Loading