Eliminate merging directory structures

This commit is contained in:
Cameron Sparr
2015-11-25 19:06:36 -07:00
parent 78f2ea89f8
commit 224a570a08
2 changed files with 32 additions and 80 deletions
+2 -1
View File
@@ -75,7 +75,8 @@ func main() {
)
if *fConfig != "" {
config, err = telegraf.LoadConfig(*fConfig)
config = telegraf.NewConfig()
err = config.LoadConfig(*fConfig)
if err != nil {
log.Fatal(err)
}