context propagation: pass context to NewAPIC() #3231
40.00% of diff hit (target 0.00%)
View this Pull Request on Codecov
40.00% of diff hit (target 0.00%)
Annotations
Check warning on line 121 in cmd/crowdsec-cli/clipapi/papi.go
codecov / codecov/patch
cmd/crowdsec-cli/clipapi/papi.go#L121
Added line #L121 was not covered by tests
Check warning on line 125 in cmd/crowdsec-cli/clipapi/papi.go
codecov / codecov/patch
cmd/crowdsec-cli/clipapi/papi.go#L125
Added line #L125 was not covered by tests
Check warning on line 164 in cmd/crowdsec-cli/clipapi/papi.go
codecov / codecov/patch
cmd/crowdsec-cli/clipapi/papi.go#L162-L164
Added lines #L162 - L164 were not covered by tests
Check warning on line 169 in cmd/crowdsec-cli/clipapi/papi.go
codecov / codecov/patch
cmd/crowdsec-cli/clipapi/papi.go#L169
Added line #L169 was not covered by tests