make inputs configurable for revidCLI

This commit is contained in:
richardsonjack 2018-04-30 12:44:21 +09:30
parent d741e39346
commit 4fdcaa6d0a
1 changed files with 2 additions and 1 deletions

View File

@ -274,7 +274,8 @@ func periodicNetsenderReport(){
}
}
inputs := []string{"X20", "X21"}
//inputs := []string{"X20", "X21"}
inputs := netsender.GetConfigParam("inputs")
if _, _, err := netsender.Send(netsender.RequestPoll, inputs); err != nil {
config.Logger.Log("Error", err.Error())
}