db: don't set bouncer last_pull until first connection #3020
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
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
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
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
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
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
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
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
codecov / codecov/patch
pkg/database/decisions.go#L295
Added line #L295 was not covered by tests