From 8c82a03c2551a14f71e9fe7a9d39bbeb692ad27a Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 20 Jan 2020 16:20:35 +1030 Subject: [PATCH] cmd/revid-cli/main.go: Renamed SendLogs to Send. --- cmd/revid-cli/main.go | 2 +- go.mod | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index d319d4fe..ee892df9 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -311,7 +311,7 @@ func run(cfg config.Config) { continue } - err = netLogger.SendLogs(ns) + err = netLogger.Send(ns) if err != nil { log.Log(logger.Warning, pkg+"Logs could not be sent", "error", err.Error()) } diff --git a/go.mod b/go.mod index 632c0ebb..f9a618a0 100644 --- a/go.mod +++ b/go.mod @@ -12,4 +12,5 @@ require ( github.com/pkg/errors v0.8.1 github.com/yobert/alsa v0.0.0-20180630182551-d38d89fa843e gocv.io/x/gocv v0.21.0 + gopkg.in/natefinch/lumberjack.v2 v2.0.0 )