diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 9a4f231c..0d432877 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -286,7 +286,7 @@ func main() { } } } - sleepTime, _ := strconv.Atoi(ns.GetConfigParam("monPeriod")) + sleepTime, _ := strconv.Atoi(ns.GetConfigParam("mp")) time.Sleep(time.Duration(sleepTime) * time.Second) } @@ -305,7 +305,7 @@ func netSend() error { } } - inputs := netsender.SplitCSV(ns.GetConfigParam("inputs")) + inputs := netsender.SplitCSV(ns.GetConfigParam("ip")) if _, reconfig, err := ns.Send(netsender.RequestPoll, inputs); err != nil { return err } else {