-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly handle lists as TOML arrays
- Updated the Jinja template to detect and serialize lists using |to_json, ensuring Telegraf interprets them correctly (e.g. names = ["item1","item2"]). - Removed fallback logic for single items, so we consistently treat all sub_input values as lists of dictionaries.
- Loading branch information
Michał Lisowski
committed
Feb 6, 2025
1 parent
3cd5e9b
commit 9453526
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters