feat(policy): enhance handling of policy additon and deletion in systemd mode #1826
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci-test-go.yml
on: pull_request
go-fmt
15s
go-lint
44s
go-lint-tests
45s
go-sec
3m 6s
go-test
2m 42s
license
1m 22s
Annotations
12 warnings
go-lint:
KubeArmor/main.go#L16
exported var GitCommit should have comment or be unexported
|
go-lint:
KubeArmor/main.go#L17
exported var GitBranch should have comment or be unexported
|
go-lint:
KubeArmor/main.go#L18
exported var BuildDate should have comment or be unexported
|
go-lint:
KubeArmor/common/bpffs.go#L100
redundant if ...; err != nil check, just return error instead.
|
go-lint:
KubeArmor/common/common.go#L281
redundant if ...; err != nil check, just return error instead.
|
go-lint:
KubeArmor/common/bpffs.go#L155
redundant if ...; err != nil check, just return error instead.
|
go-lint:
KubeArmor/kvmAgent/kvmAgent.go#L87
redundant if ...; err != nil check, just return error instead.
|
go-lint:
KubeArmor/policy/policy.go#L24
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/policy/policy.go#L81
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/enforcer/bpflsm/enforcer.go#L46
parameter 'node' seems to be unused, consider removing or renaming it as _
|
go-lint-tests:
tests/util/kartutil.go#L216
exported function AnnotationsMatch should have comment or be unexported
|
go-lint-tests:
tests/util/portforward.go#L53
this block is empty, you can remove it
|