Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Sep 26, 2024
1 parent 08d2ef5 commit 051966a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions content/en/docs/writing-policies/external-data-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,8 @@ GlobalContextEntries must be in a healthy state (i.e., there is a response recei
{{% /alert %}}

#### Default values for API calls
In the case where the api server returns an error, `default` can be used to provide a fallback value for the api call context entry. The following example shows how to add default value to context entries
In the case where the api server returns an error, `default` can be used to provide a fallback value for the api call context entry. The following example shows how to add default value to context entries:

For example, the policy below uses `default` values to validate:
```yaml
...
context:
Expand Down

0 comments on commit 051966a

Please sign in to comment.