Usage metrics #143
Annotations
10 errors
pkg/iptables/iptables.go#L157
Error return value of `ipt.v6.add` is not checked (errcheck)
|
pkg/iptables/iptables.go#L159
Error return value of `ipt.v4.add` is not checked (errcheck)
|
cmd/root.go#L186
line is 205 characters (lll)
|
cmd/root.go#L203
line is 196 characters (lll)
|
cmd/root.go#L220
line is 202 characters (lll)
|
pkg/metrics/metrics.go#L21
var-declaration: should omit type map[string]float64 from declaration of var LastDroppedPacketsValue; it will be inferred from the right-hand side (revive)
|
pkg/metrics/metrics.go#L27
var-declaration: should omit type map[string]float64 from declaration of var LastDroppedBytesValue; it will be inferred from the right-hand side (revive)
|
pkg/metrics/metrics.go#L33
var-declaration: should omit type map[string]float64 from declaration of var LastActiveBannedIPsValue; it will be inferred from the right-hand side (revive)
|
pkg/nftables/nftables_context.go#L119
empty-lines: extra empty line at the start of a block (revive)
|
pkg/nftables/metrics.go#L100
empty-lines: extra empty line at the start of a block (revive)
|
This job failed
Loading