From ececc9c2c984c4568b62f779db04399f1298a320 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Wed, 22 Jan 2025 09:17:01 -0800 Subject: [PATCH] docs: fix ratelimit example (#2905) Some fields are mixed case which is inconsistent with the rest of example configs. Signed-off-by: Ramkumar Chinchani --- examples/config-ratelimit.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/config-ratelimit.json b/examples/config-ratelimit.json index 334573e6..2c78e16f 100644 --- a/examples/config-ratelimit.json +++ b/examples/config-ratelimit.json @@ -6,12 +6,12 @@ "http": { "address": "127.0.0.1", "port": "8080", - "Ratelimit": { - "Rate": 10, - "Methods": [ + "ratelimit": { + "rate": 10, + "methods": [ { - "Method": "GET", - "Rate": 5 + "method": "GET", + "rate": 5 } ] }