Split input list to slice

This commit is contained in:
richardsonjack 2018-05-02 10:37:53 +09:30
parent 8f658ae2e5
commit 56ab13888b
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}