rate-limit #3
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@
|
||||||
(cut/generate-data-volume {:volume-total-storage-size 15})))))
|
(cut/generate-data-volume {:volume-total-storage-size 15})))))
|
||||||
|
|
||||||
(deftest should-generate-middleware-ratelimit
|
(deftest should-generate-middleware-ratelimit
|
||||||
(is (= {:apiVersion "traefik.io/v1alpha1",
|
(is (= {:apiVersion "traefik.containo.us/v1alpha1",
|
||||||
:kind "Middleware",
|
:kind "Middleware",
|
||||||
:metadata {:name "ratelimit"},
|
:metadata {:name "ratelimit"},
|
||||||
:spec {:rateLimit {:average 10, :burst 5}}}
|
:spec {:rateLimit {:average 10, :burst 5}}}
|
||||||
|
|
Loading…
Reference in a new issue