Fix "karmor profile --save" command #2921
ci-go.yml
on: pull_request
go-build
2m 41s
go-fmt
33s
go-sec
3m 43s
go-lint
23s
unit-tests
3m 2s
Annotations
15 warnings
go-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
go-lint:
selfupdate/selfupdate.go#L110
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
profile/Client/tabs.go#L103
redefinition of the built-in function max
|
go-lint:
probe/types.go#L43
don't use underscores in Go names; struct field Image_Version should be ImageVersion
|
go-lint:
profile/Client/profileClient.go#L402
don't use underscores in Go names; var file_name should be fileName
|
go-lint:
profile/Client/profileClient.go#L403
don't use underscores in Go names; var output_file should be outputFile
|
go-lint:
profile/Client/profileClient.go#L419
exported method Profile.MarshalText should have comment or be unexported
|
go-lint:
log/log.go#L44
struct field TlsCertPath should be TLSCertPath
|
go-lint:
log/log.go#L45
struct field TlsCertProvider should be TLSCertProvider
|
go-lint:
log/log.go#L25
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
|
go-lint:
probe/probe.go#L485
func name will be used as probe.ProbeRunningKubeArmorNodes by other packages, and that stutters; consider calling this RunningKubeArmorNodes
|
go-fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
go-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
go-sec
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|