Skip to content

feat(policy): enhance handling of policy additon and deletion in systemd mode #1826

feat(policy): enhance handling of policy additon and deletion in systemd mode

feat(policy): enhance handling of policy additon and deletion in systemd mode #1826

Triggered via pull request August 24, 2023 17:36
Status Success
Total duration 3m 17s
Artifacts
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
Fit to window
Zoom out
Zoom in

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