crowdsec/pkg/apiserver
mmetc 6b9b19b8c1
CI: use golangci-lint 1.60 (#3180)
* use golangci-lint 1.60

* lint (gosimple/S1009) -> len(nil) == 0

* nerf govet for now
2024-08-19 14:09:17 +02:00
..
controllers LAPI: detailed metrics endpoint (#2858) 2024-07-24 10:29:18 +02:00
middlewares/v1 CI: use golangci-lint 1.60 (#3180) 2024-08-19 14:09:17 +02:00
tests Fix #1552 (#1569) 2022-06-22 10:29:02 +02:00
alerts_test.go CI: bump lint version and update configuration (#2901) 2024-03-19 10:48:49 +01:00
api_key_test.go apiserver/apiclient: compact tests (#2694) 2024-01-04 17:10:36 +01:00
apic.go prevent nil deref when loading cti config (#3176) 2024-08-12 10:15:00 +02:00
apic_metrics.go metrics: avoid nil deref with inactive bouncers or malformed response (#3170) 2024-08-08 16:46:39 +02:00
apic_metrics_test.go metrics: avoid nil deref with inactive bouncers or malformed response (#3170) 2024-08-08 16:46:39 +02:00
apic_test.go metrics: avoid nil deref with inactive bouncers or malformed response (#3170) 2024-08-08 16:46:39 +02:00
apiserver.go LAPI: detailed metrics endpoint (#2858) 2024-07-24 10:29:18 +02:00
apiserver_test.go metrics: avoid nil deref with inactive bouncers or malformed response (#3170) 2024-08-08 16:46:39 +02:00
decisions_test.go apiserver/apiclient: compact tests (#2694) 2024-01-04 17:10:36 +01:00
heartbeat_test.go apiserver/apiclient: compact tests (#2694) 2024-01-04 17:10:36 +01:00
jwt_test.go apiserver/apiclient: compact tests (#2694) 2024-01-04 17:10:36 +01:00
machines_test.go apiserver/apiclient: compact tests (#2694) 2024-01-04 17:10:36 +01:00
papi.go enable linter: revive (early-return) (#3051) 2024-06-07 16:53:23 +02:00
papi_cmd.go pkg/database: refactor & rename "soft delete" to "expire" (#3025) 2024-06-04 13:19:46 +02:00
usage_metrics_test.go LAPI: detailed metrics endpoint (#2858) 2024-07-24 10:29:18 +02:00