From bc8015c8803678d991de1d58cb407de100516d78 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Wed, 3 May 2023 12:22:36 -0600 Subject: linter fixes --- logging/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logging/middleware.go') diff --git a/logging/middleware.go b/logging/middleware.go index b19c273..750f987 100644 --- a/logging/middleware.go +++ b/logging/middleware.go @@ -18,7 +18,7 @@ func LogRequests(logger Logger) sr.Middleware { response.Body = loggingBody(logger, request, response, start) } else { end := time.Now() - logger.Log( + _ = logger.Log( "msg", "request", "ts", end.UTC(), "dur", end.Sub(start), -- cgit v1.2.3