1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Remove duplicate "ResponseWriter.Status" method (#33346)

This commit is contained in:
wxiaoguang
2025-01-22 14:37:52 +08:00
committed by GitHub
parent abe743df79
commit 6fe4d1c038
10 changed files with 42 additions and 53 deletions

View File

@@ -85,7 +85,7 @@ func (lr *accessLogRecorder) record(start time.Time, respWriter ResponseWriter,
},
RequestID: &requestID,
}
tmplData.ResponseWriter.Status = respWriter.Status()
tmplData.ResponseWriter.Status = respWriter.WrittenStatus()
tmplData.ResponseWriter.Size = respWriter.WrittenSize()
err = lr.logTemplate.Execute(buf, tmplData)
if err != nil {