From 24273399410b3ea59d25a585c261696980f1d1e8 Mon Sep 17 00:00:00 2001 From: Raffael Schneider Date: Wed, 25 Feb 2026 07:59:18 +0100 Subject: [PATCH] fix(docs): correct zentinel config syntax in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `transport "unix_socket" { path "..." }` → `unix-socket "..."` - `transport "grpc" { address "..." }` → `grpc "..."` - `events ["a", "b"]` → `events "a" "b"` (KDL has no array literals) The previous syntax didn't match zentinel's KDL config parser, causing config load failures or silent misconfigurations. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e7108fa..69ed939 100644 --- a/README.md +++ b/README.md @@ -241,10 +241,8 @@ function on_response_headers(response) { agents { agent "js" { type "custom" - transport "unix_socket" { - path "/var/run/zentinel/js.sock" - } - events ["request_headers", "response_headers"] + unix-socket "/var/run/zentinel/js.sock" + events "request_headers" "response_headers" timeout-ms 100 failure-mode "open" }