From 56ab13888b1dbb32939b8711e67a441433d159d8 Mon Sep 17 00:00:00 2001 From: richardsonjack Date: Wed, 2 May 2018 10:37:53 +0930 Subject: [PATCH] Split input list to slice --- RevidCLI.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RevidCLI.go b/RevidCLI.go index b6ebdff4..a563916f 100644 --- a/RevidCLI.go +++ b/RevidCLI.go @@ -278,7 +278,7 @@ func periodicNetsenderReport(){ } //inputs := []string{"X20", "X21"} - inputs := netsender.GetConfigParam("inputs") + inputs := netsender.SplitCSV(netsender.GetConfigParam("inputs")) if _, _, err := netsender.Send(netsender.RequestPoll, inputs); err != nil { config.Logger.Log("Error", err.Error()) }