Skip to content

Commit

Permalink
docs: use correct casing
Browse files Browse the repository at this point in the history
Closes #900
  • Loading branch information
aeneasr committed Jan 31, 2022
1 parent 38dfbcc commit 58b1d43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/versioned_docs/version-v0.37/pipeline/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v0.38/pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58b1d43

Please sign in to comment.