mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
mediaapi/writers/upload: Infof -> Info as no formatting in string
This commit is contained in:
parent
5536fec902
commit
5f604cc41f
|
|
@ -441,7 +441,7 @@ func (r *downloadRequest) respondFromRemoteFile(w http.ResponseWriter, absBasePa
|
||||||
r.Logger.WithFields(log.Fields{
|
r.Logger.WithFields(log.Fields{
|
||||||
"MediaID": r.MediaMetadata.MediaID,
|
"MediaID": r.MediaMetadata.MediaID,
|
||||||
"Origin": r.MediaMetadata.Origin,
|
"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
|
// 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
|
// method of deduplicating files to save storage, as well as a way to conduct
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue