lint/deep-exit: avoid log.Fatal #3360
33.80% of diff hit (target 0.00%)
View this Pull Request on Codecov
33.80% of diff hit (target 0.00%)
Annotations
Check warning on line 72 in cmd/crowdsec-cli/clicapi/capi.go
codecov / codecov/patch
cmd/crowdsec-cli/clicapi/capi.go#L71-L72
Added lines #L71 - L72 were not covered by tests
Check warning on line 26 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L25-L26
Added lines #L25 - L26 were not covered by tests
Check warning on line 32 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L31-L32
Added lines #L31 - L32 were not covered by tests
Check warning on line 44 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L41-L44
Added lines #L41 - L44 were not covered by tests
Check warning on line 59 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L58-L59
Added lines #L58 - L59 were not covered by tests
Check warning on line 160 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L159-L160
Added lines #L159 - L160 were not covered by tests
Check warning on line 216 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L216
Added line #L216 was not covered by tests
Check warning on line 225 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L222-L225
Added lines #L222 - L225 were not covered by tests
Check warning on line 282 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L282
Added line #L282 was not covered by tests
Check warning on line 304 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L303-L304
Added lines #L303 - L304 were not covered by tests
Check warning on line 315 in cmd/crowdsec-cli/clihub/item_metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/clihub/item_metrics.go#L314-L315
Added lines #L314 - L315 were not covered by tests
Check warning on line 34 in cmd/crowdsec-cli/clilapi/register.go
codecov / codecov/patch
cmd/crowdsec-cli/clilapi/register.go#L33-L34
Added lines #L33 - L34 were not covered by tests
Check warning on line 71 in cmd/crowdsec-cli/climachine/add.go
codecov / codecov/patch
cmd/crowdsec-cli/climachine/add.go#L70-L71
Added lines #L70 - L71 were not covered by tests
Check warning on line 151 in cmd/crowdsec-cli/dashboard.go
codecov / codecov/patch
cmd/crowdsec-cli/dashboard.go#L147-L151
Added lines #L147 - L151 were not covered by tests
Check warning on line 49 in cmd/crowdsec-cli/idgen/machineid.go
codecov / codecov/patch
cmd/crowdsec-cli/idgen/machineid.go#L48-L49
Added lines #L48 - L49 were not covered by tests
Check warning on line 24 in cmd/crowdsec-cli/idgen/password.go
codecov / codecov/patch
cmd/crowdsec-cli/idgen/password.go#L24
Added line #L24 was not covered by tests
Check warning on line 368 in pkg/leakybucket/overflows.go
codecov / codecov/patch
pkg/leakybucket/overflows.go#L368
Added line #L368 was not covered by tests