From 9976e0850519fcfd45d275de0fb69815a69b7515 Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Tue, 17 Oct 2023 12:50:12 -0700 Subject: [PATCH] docs: Fix example control-plane-request-limit HCL and JSON (#19105) The control-plane-request-limit config entry does not support specifying parameter names in snake case format. This commit updates the HCL and JSON examples to use the supported camel case key format. --- .../control-plane-request-limit.mdx | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/website/content/docs/connect/config-entries/control-plane-request-limit.mdx b/website/content/docs/connect/config-entries/control-plane-request-limit.mdx index c89e87832d..d6e828e670 100644 --- a/website/content/docs/connect/config-entries/control-plane-request-limit.mdx +++ b/website/content/docs/connect/config-entries/control-plane-request-limit.mdx @@ -40,48 +40,48 @@ When every field is defined, a control plane request limit configuration entry h ```hcl -kind = "control-plane-request-limit" -name = "" +Kind = "control-plane-request-limit" +Name = "" -mode = "permissive" +Mode = "permissive" -read_rate = 100 -write_rate = 100 +ReadRate = 100 +WriteRate = 100 -kv = { - read_rate = 100 - write_rate = 100 +KV = { + ReadRate = 100 + WriteRate = 100 } -acl = { - read_rate = 100 - write_rate = 100 +ACL = { + ReadRate = 100 + WriteRate = 100 } -catalog = { - read_rate = 100 - write_rate = 100 +Catalog = { + ReadRate = 100 + WriteRate = 100 } ``` ```json { - "kind": "control-plane-request-limit", - "name": "", - "mode": "permissive", - "read_rate": 100, - "write_rate": 100, - "kv": { - "read_rate": 100, - "write_rate": 100 + "Kind": "control-plane-request-limit", + "Name": "", + "Mode": "permissive", + "ReadRate": 100, + "WriteRate": 100, + "KV": { + "ReadRate": 100, + "WriteRate": 100 }, - "acl": { - "read_rate": 100, - "write_rate": 100 + "ACL": { + "ReadRate": 100, + "WriteRate": 100 }, - "catalog": { - "read_rate": 100, - "write_rate": 100 + "Catalog": { + "ReadRate": 100, + "WriteRate": 100 } } ```