mirror of
https://github.com/pgsty/minio.git
synced 2026-07-16 00:41:25 +03:00
move HTTP recorder to an internal library (#16128)
This commit is contained in:
@@ -350,7 +350,7 @@ func collectAPIStats(api string, f http.HandlerFunc) http.HandlerFunc {
|
||||
globalHTTPStats.currentS3Requests.Inc(api)
|
||||
defer globalHTTPStats.currentS3Requests.Dec(api)
|
||||
|
||||
statsWriter := logger.NewResponseWriter(w)
|
||||
statsWriter := xhttp.NewResponseRecorder(w)
|
||||
|
||||
f.ServeHTTP(statsWriter, r)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user