mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05: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