open-consul/agent/consul/multilimiter
Dhia Ayachi 8fb85d6b7a
delete config when nil (#16690)
* delete config when nil

* fix mock interface implementation

* fix handler test to use the right assertion

* extract DeleteConfig as a separate API.

* fix mock limiter implementation to satisfy the new interface

* fix failing tests

* add test comments
2023-03-22 15:19:54 -04:00
..
testdata/fuzz/FuzzUpdateConfig add multilimiter and tests (#15467) 2022-12-08 14:42:07 -05:00
mock_RateLimiter.go delete config when nil (#16690) 2023-03-22 15:19:54 -04:00
multilimiter.go delete config when nil (#16690) 2023-03-22 15:19:54 -04:00
multilimiter_test.go delete config when nil (#16690) 2023-03-22 15:19:54 -04:00