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

db: don't set bouncer last_pull until first connection #3020

Merged
merged 2 commits into from
Jun 17, 2024

cscli bouncers prune: query creation date if they never connected

f3518c3
Select commit
Loading
Failed to load commit list.
Merged

db: don't set bouncer last_pull until first connection #3020

cscli bouncers prune: query creation date if they never connected
f3518c3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 12, 2024 in 1s

66.66% of diff hit (target 0.00%)

View this Pull Request on Codecov

66.66% of diff hit (target 0.00%)

Annotations

Check warning on line 122 in cmd/crowdsec-cli/bouncers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/bouncers.go#L121-L122

Added lines #L121 - L122 were not covered by tests

Check warning on line 27 in cmd/crowdsec-cli/bouncers_table.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/bouncers_table.go#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 189 in pkg/apiserver/controllers/v1/decisions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apiserver/controllers/v1/decisions.go#L189

Added line #L189 was not covered by tests

Check warning on line 354 in pkg/apiserver/controllers/v1/decisions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apiserver/controllers/v1/decisions.go#L354

Added line #L354 was not covered by tests

Check warning on line 120 in pkg/database/bouncers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/database/bouncers.go#L120

Added line #L120 was not covered by tests

Check warning on line 261 in pkg/database/decisions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/database/decisions.go#L261

Added line #L261 was not covered by tests

Check warning on line 264 in pkg/database/decisions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/database/decisions.go#L264

Added line #L264 was not covered by tests

Check warning on line 295 in pkg/database/decisions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/database/decisions.go#L295

Added line #L295 was not covered by tests