From d4c60e24bf1dfca87e458fb81e0789999a85b8a0 Mon Sep 17 00:00:00 2001 From: Tim Raymond Date: Fri, 12 Feb 2016 10:40:55 -0500 Subject: [PATCH] Fix config_port option / retab This was previously config-port, which is incorrect. naoina/toml does snake case <-> camel case. Also changed leading tabs to 2 spaces. --- internal/config/config.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 3e1de7880..7d20a9625 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -178,9 +178,8 @@ var header = `# Telegraf configuration # Override default hostname, if empty use os.Hostname() hostname = "" - # Set configuration management port - config-port = "" - + # Set configuration management port + config_port = "" ############################################################################### # OUTPUTS #