Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint/deep-exit: avoid log.Fatal #3360

Merged
merged 4 commits into from
Dec 13, 2024

lint

78d659a
Select commit
Loading
Failed to load commit list.
Merged

lint/deep-exit: avoid log.Fatal #3360

lint
78d659a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 13, 2024 in 0s

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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/leakybucket/overflows.go#L368

Added line #L368 was not covered by tests