Skip to content

new: driver command #567

new: driver command

new: driver command #567

Triggered via pull request November 3, 2023 14:31
Status Failure
Total duration 3m 18s
Artifacts

lint.yaml

on: pull_request
Lint golang files
2m 41s
Lint golang files
Enforce go.mod tidiness
46s
Enforce go.mod tidiness
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
Enforce go.mod tidiness
Process completed with exit code 1.
Enforce go.mod tidiness
Process completed with exit code 1.
Lint golang files: pkg/driver/type/bpf.go#L23
Error return value of `unix.Mount` is not checked (errcheck)
Lint golang files: pkg/driver/kernel/kernel.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/kernel/kernel.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: internal/config/config.go#L21
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/ubuntu.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/ubuntu.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/amzn.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/amzn.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/bottlerocket.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/bottlerocket.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/kernel/kernel.go#L9
exported: exported type Info should have comment or be unexported (revive)
Lint golang files: pkg/driver/kernel/kernel.go#L16
exported: exported function FetchKernelInfo should have comment or be unexported (revive)
Lint golang files: pkg/driver/type/type.go#L7
exported: exported type DriverType should have comment or be unexported (revive)
Lint golang files: pkg/driver/type/type.go#L14
exported: exported function Parse should have comment or be unexported (revive)
Lint golang files: internal/config/config.go#L529
exported: exported function SelectDriver should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/ubuntu.go#L17
var-naming: var ubuntuTargetIdRegex should be ubuntuTargetIDRegex (revive)
Lint golang files: pkg/driver/distro/distro.go#L15
exported: exported var UnsupportedErr should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L17
exported: exported type Distro should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L30
exported: exported function DiscoverDistro should have comment or be unexported (revive)
Lint golang files: cmd/driver/select/doc.go#L17
var-naming: don't use an underscore in package name (revive)