Skip to content

Commit

Permalink
Documentation: Update template_functions.md (#11615)
Browse files Browse the repository at this point in the history
Fix incorrect example

**What this PR does / why we need it**:
Fix incorrect example in [Template
functions](https://grafana.com/docs/loki/latest/query/template_functions/)

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [x] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](0d4416a)

Co-authored-by: J Stickler <[email protected]>
Co-authored-by: Michel Hollands <[email protected]>
  • Loading branch information
3 people authored Jan 10, 2024
1 parent 87023f4 commit 3cb2a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/query/template_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ Signature: `min(a interface{}, i ...interface{}) int64`
Example:

```template
{{ max 1 2 3 }} //output 1
{{ min 1 2 3 }} //output 1
```

## maxf
Expand Down

0 comments on commit 3cb2a6b

Please sign in to comment.