From 5f604cc41f97351e6635767a153d7279cbe6dd86 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Mon, 22 May 2017 10:26:30 +0200 Subject: [PATCH] mediaapi/writers/upload: Infof -> Info as no formatting in string --- src/github.com/matrix-org/dendrite/mediaapi/writers/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go b/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go index 4dec2452b..13e24f2ff 100644 --- a/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go +++ b/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go @@ -441,7 +441,7 @@ func (r *downloadRequest) respondFromRemoteFile(w http.ResponseWriter, absBasePa r.Logger.WithFields(log.Fields{ "MediaID": r.MediaMetadata.MediaID, "Origin": r.MediaMetadata.Origin, - }).Infof("Proxying and caching remote file") + }).Info("Proxying and caching remote file") // The file data is hashed but is NOT used as the MediaID, unlike in Upload. The hash is useful as a // method of deduplicating files to save storage, as well as a way to conduct