From ed11665fa61d318e598391517896e6ca30b16b47 Mon Sep 17 00:00:00 2001 From: Henry Hu Date: Wed, 3 Feb 2016 23:03:35 +0800 Subject: [PATCH] Modified the config testing data for exec plugin --- internal/config/testdata/telegraf-agent.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/testdata/telegraf-agent.toml b/internal/config/testdata/telegraf-agent.toml index 5ede47016..8bde486dd 100644 --- a/internal/config/testdata/telegraf-agent.toml +++ b/internal/config/testdata/telegraf-agent.toml @@ -107,7 +107,7 @@ # Read flattened metrics from one or more commands that output JSON to stdout [[inputs.exec]] # the command to run - command = "/usr/bin/mycollector --foo=bar" + commands = ["/usr/bin/mycollector --foo=bar"] name_suffix = "_mycollector" # Read metrics of haproxy, via socket or csv stats page