afeb541eac
* apic: minor refactoring * Add whitelist length check If user configures the file but fails to define and actual whitelist we should check length to save allocs * Init with length from file * extract loop method from ApplyApicWhitelists * pass pointer * extract loop method updateBlocklist --------- Co-authored-by: Laurence Jones <laurence.jones@live.co.uk> |
||
---|---|---|
.. | ||
controllers | ||
middlewares/v1 | ||
tests | ||
alerts_test.go | ||
api_key_test.go | ||
apic.go | ||
apic_metrics.go | ||
apic_metrics_test.go | ||
apic_test.go | ||
apiserver.go | ||
apiserver_test.go | ||
decisions_test.go | ||
heartbeat_test.go | ||
jwt_test.go | ||
machines_test.go | ||
papi.go | ||
papi_cmd.go | ||
utils.go |