mirror of https://bitbucket.org/ausocean/av.git
Split input list to slice
This commit is contained in:
parent
8f658ae2e5
commit
56ab13888b
|
@ -278,7 +278,7 @@ func periodicNetsenderReport(){
|
||||||
}
|
}
|
||||||
|
|
||||||
//inputs := []string{"X20", "X21"}
|
//inputs := []string{"X20", "X21"}
|
||||||
inputs := netsender.GetConfigParam("inputs")
|
inputs := netsender.SplitCSV(netsender.GetConfigParam("inputs"))
|
||||||
if _, _, err := netsender.Send(netsender.RequestPoll, inputs); err != nil {
|
if _, _, err := netsender.Send(netsender.RequestPoll, inputs); err != nil {
|
||||||
config.Logger.Log("Error", err.Error())
|
config.Logger.Log("Error", err.Error())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue