From f4000a325deb84aadf274ad47f6519269c801fcd Mon Sep 17 00:00:00 2001 From: Butitsnotme Date: Tue, 26 Jul 2016 11:52:51 -0400 Subject: [PATCH] Fixed bug - Wrong data type: svcConfig svcConfig service.Config => svcConfig *service.Config (It needed to be a pointer) --- cmd/telegraf/telegraf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/telegraf/telegraf.go b/cmd/telegraf/telegraf.go index a0fca0e79..a2644a4f2 100644 --- a/cmd/telegraf/telegraf.go +++ b/cmd/telegraf/telegraf.go @@ -110,7 +110,7 @@ var logger service.Logger var stop chan struct{} var srvc service.Service -var svcConfig service.Config +var svcConfig *service.Config type program struct{}