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]>
  • Loading branch information
mlcdf and clayton-cornell authored Oct 12, 2023
1 parent 5f5fc05 commit 73c2642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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 73c2642

Please sign in to comment.