cmd/revid-cli/main.go: Renamed SendLogs to Send.

This commit is contained in:
Scott 2020-01-20 16:20:35 +10:30
parent e4315d8203
commit 8c82a03c25
2 changed files with 2 additions and 1 deletions

View File

@ -311,7 +311,7 @@ func run(cfg config.Config) {
continue continue
} }
err = netLogger.SendLogs(ns) err = netLogger.Send(ns)
if err != nil { if err != nil {
log.Log(logger.Warning, pkg+"Logs could not be sent", "error", err.Error()) log.Log(logger.Warning, pkg+"Logs could not be sent", "error", err.Error())
} }

1
go.mod
View File

@ -12,4 +12,5 @@ require (
github.com/pkg/errors v0.8.1 github.com/pkg/errors v0.8.1
github.com/yobert/alsa v0.0.0-20180630182551-d38d89fa843e github.com/yobert/alsa v0.0.0-20180630182551-d38d89fa843e
gocv.io/x/gocv v0.21.0 gocv.io/x/gocv v0.21.0
gopkg.in/natefinch/lumberjack.v2 v2.0.0
) )