From ec0d584fe702ae4b03098d7fb253228af2874bfd Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Thu, 18 May 2017 12:23:17 +0200 Subject: [PATCH] cmd/dendrite-media-api-server: Log format string with Infof not Info --- .../matrix-org/dendrite/cmd/dendrite-media-api-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go b/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go index 04c395454..62d9c83e8 100644 --- a/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/dendrite-media-api-server/main.go @@ -53,7 +53,7 @@ func main() { maxFileSizeBytes, err := strconv.ParseInt(os.Getenv("MAX_FILE_SIZE_BYTES"), 10, 64) if err != nil { maxFileSizeBytes = 10 * 1024 * 1024 - log.Info("Failed to parse MAX_FILE_SIZE_BYTES. Defaulting to %v bytes.", maxFileSizeBytes) + log.Infof("Failed to parse MAX_FILE_SIZE_BYTES. Defaulting to %v bytes.", maxFileSizeBytes) } cfg := &config.MediaAPI{