From 72d7dc39911c8238d33067c86084c41a37178c76 Mon Sep 17 00:00:00 2001 From: Alan Noble Date: Mon, 25 Jun 2018 10:10:37 +0930 Subject: [PATCH] GetConfigParam() renamed Param(). --- cmd/revid-cli/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index bdefb4e3..ce94cf19 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -296,7 +296,7 @@ func main() { } } } - sleepTime, _ := strconv.Atoi(ns.GetConfigParam("mp")) + sleepTime, _ := strconv.Atoi(ns.Param("mp")) time.Sleep(time.Duration(sleepTime) * time.Second) } @@ -310,7 +310,7 @@ func main() { // (as distinct from httpSender which just sends video data). func sendTo(ns *netsender.Sender) error { // populate input values, if any - inputs := netsender.MakePins(ns.GetConfigParam("ip"), "X") + inputs := netsender.MakePins(ns.Param("ip"), "X") for i, pin := range inputs { if pin.Name == "X23" { inputs[i].Value = revidInst.Bitrate()