Ellison Marks
9e0ec0927c
Making sure telegraf.d directory is created by packages.
2015-10-27 11:32:00 -07:00
Ellison Marks
23e6715a02
Making the field name matching when merging respect the toml struct tag.
...
If the field has a toml struct tag, don't try fuzzy matching, thanks to
@ekini.
2015-10-27 11:31:43 -07:00
Ellison Marks
2007064c47
Fix for tags in the config not being applied to the agent.
...
fixes #302
closes #308
2015-10-22 13:58:59 -06:00
Ellison Marks
4395a46190
Tests for LoadDirectory.
...
closes #295
2015-10-21 14:07:09 -06:00
gotyaoi
c938523cd5
Implementing LoadDirectory.
2015-10-21 12:00:22 -07:00
gotyaoi
ae10fc7fb4
Fixing old tests and adding new ones for new code.
2015-10-21 12:00:21 -07:00
gotyaoi
0299a17da1
Moving the Duration wrapper to it's own package to break import loops.
2015-10-21 12:00:21 -07:00
gotyaoi
d77cfd6ecc
Adding testify/suite to godep.
2015-10-21 11:59:20 -07:00
gotyaoi
03d79996de
Moving away from passing around *ast.Tables.
...
Config in the config directory will need to be merged into the main
config, which is difficult to do using the *ast.Tables. Get the config
into structs as soon as possible and then merge the structs.
2015-10-21 11:59:19 -07:00