Skip to content

Commit

Permalink
docs: small typo in an example (#5456)
Browse files Browse the repository at this point in the history
Hello :)

The exported field for local.file is `content` and not `content`. :)

https://grafana.com/docs/agent/latest/flow/reference/components/local.file/#exported-fields

Co-authored-by: Clayton Cornell <[email protected]>
(cherry picked from commit 73c2642)
  • Loading branch information
mlcdf authored and grafanabot committed Oct 12, 2023
1 parent 98a011e commit 7281539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ allow for more complex expressions (e.g. concatenating arrays or decoding JSON
strings into objects).
```river
env("HOME")
json_decode(local.file.cfg.contents)["namespace"]
json_decode(local.file.cfg.content)["namespace"]
```

[standard library]: {{< relref "../../reference/stdlib" >}}

0 comments on commit 7281539

Please sign in to comment.