mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Fix: set request id in trace context properly (#17622)
This commit is contained in:
parent
bd6842d917
commit
43b3c093ef
@ -77,7 +77,7 @@ func httpTracerMiddleware(h http.Handler) http.Handler {
|
||||
|
||||
// Create tracing data structure and associate it to the request context
|
||||
tc := mcontext.TraceCtxt{
|
||||
AmzReqID: r.Header.Get(xhttp.AmzRequestID),
|
||||
AmzReqID: w.Header().Get(xhttp.AmzRequestID),
|
||||
RequestRecorder: reqRecorder,
|
||||
ResponseRecorder: respRecorder,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user