telegraf/internal/config
jvassev af7382e224 Prevent loading config twice in K8S (#3999)
When config dir is mounted from configmap, filepath.Walk() finds the same
.conf file twice as 20-acme.conf is a link to ..data/20-acme.conf for example.

This patch skips all folder names starting with '..' which is pretty
uncommon and mainly used by Kubernetes mounts.
2018-04-11 16:51:19 -07:00
..
aws Consolidate AWS credentials (#1208) 2016-05-25 12:30:39 +01:00
testdata Prevent loading config twice in K8S (#3999) 2018-04-11 16:51:19 -07:00
config.go Prevent loading config twice in K8S (#3999) 2018-04-11 16:51:19 -07:00
config_test.go Refactor and code cleanup of filtering 2016-09-05 16:30:18 +01:00