From 58b1d43dd99ebceea22980d5debefdbcc0a4f3c7 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 31 Jan 2022 18:10:49 +0100 Subject: [PATCH] docs: use correct casing Closes #900 --- docs/docs/pipeline.md | 2 +- docs/versioned_docs/version-v0.37/pipeline/index.md | 4 ++-- docs/versioned_docs/version-v0.38/pipeline.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/pipeline.md b/docs/docs/pipeline.md index 584193090d..553b332edd 100644 --- a/docs/docs/pipeline.md +++ b/docs/docs/pipeline.md @@ -93,7 +93,7 @@ type MatchContext struct { To use the subject extract to the token ```json -{ "config_field": "{{ print .subject }}" } +{ "config_field": "{{ print .Subject }}" } ``` To use any arbitrary header value from the request headers diff --git a/docs/versioned_docs/version-v0.37/pipeline/index.md b/docs/versioned_docs/version-v0.37/pipeline/index.md index c9650ec6f4..01c75c8c26 100644 --- a/docs/versioned_docs/version-v0.37/pipeline/index.md +++ b/docs/versioned_docs/version-v0.37/pipeline/index.md @@ -87,7 +87,7 @@ type MatchContext struct { To use the subject extract to the token ```json -{ "config_field": "{{ print .subject }}" } +{ "config_field": "{{ print .Subject }}" } ``` To use an embedded value in the `Extra` map (most of the time, it's a JWT token @@ -97,7 +97,7 @@ claim) { "config_field": "{{ print .Extra.some.arbitrary.data }}" } ``` -To use a Regex capture from the request URL +To use a Regex capture from the request URL Note the usage of `printIndex` to print a value from the array ```json diff --git a/docs/versioned_docs/version-v0.38/pipeline.md b/docs/versioned_docs/version-v0.38/pipeline.md index 584193090d..553b332edd 100644 --- a/docs/versioned_docs/version-v0.38/pipeline.md +++ b/docs/versioned_docs/version-v0.38/pipeline.md @@ -93,7 +93,7 @@ type MatchContext struct { To use the subject extract to the token ```json -{ "config_field": "{{ print .subject }}" } +{ "config_field": "{{ print .Subject }}" } ``` To use any arbitrary header value from the request headers