Skip to content

Commit

Permalink
Fix typo in documentation (#5755)
Browse files Browse the repository at this point in the history
In the policy-language guide there's an example expression assigned to
the variable name `t2`.

```
t2 {
    x := 42
    y := 41
    x > y
}
```

But in the explanation for the result it is evaluated into, the variable
name is shown as `t`. This change fixes it.

Signed-off-by: eternaltyro <230743+eternaltyro@users.noreply.github.com>
  • Loading branch information
eternaltyro authored Mar 13, 2023
1 parent 47f84f1 commit 97408d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/policy-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ rule-name IS value IF body

If the **value** is omitted, it defaults to **true**.

When we query for the value of `t` we see the obvious result:
When we query for the value of `t2` we see the obvious result:

```live:eg/rules:query:hidden
t
Expand Down

0 comments on commit 97408d1

Please sign in to comment.