Skip to content

Commit

Permalink
fix ARM header in MiddlewareLoggingPostMux()
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldo Fuster Turpin committed Apr 17, 2024
1 parent 7500875 commit 1783b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/middleware_logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func MiddlewareLoggingPostMux(w http.ResponseWriter, r *http.Request, next http.

w.Header().Set(arm.HeaderNameRequestID, correlationData.RequestID.String())

if strings.EqualFold(r.Header.Get(arm.HeaderNameClientRequestID), "true") {
if strings.EqualFold(r.Header.Get(arm.HeaderNameReturnClientRequestID), "true") {
w.Header().Set(arm.HeaderNameClientRequestID, correlationData.ClientRequestID)
}

Expand Down

0 comments on commit 1783b5b

Please sign in to comment.