Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-07-08 05:00:58 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-07-08 08:19:06 +0300
commit15645988b383de8adcca24c49357b347843e994c (patch)
tree932da45947989231ba07a99c507a2c13c13af55d /app.go
parentc81339af0bd218ccb956f53d0f7bbabef835a5a4 (diff)
Update test mocks
Diffstat (limited to 'app.go')
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index c9d50223..99fd2976 100644
--- a/app.go
+++ b/app.go
@@ -351,7 +351,7 @@ func (a *theApp) buildHandlerPipeline() (http.Handler, error) {
// Correlation ID injection middleware
var correlationOpts []correlation.InboundHandlerOption
if a.config.General.PropagateCorrelationID {
- correlationOpts = append(correlationOpts, correlation.WithPropagation(), correlation.WithSetResponseHeader())
+ correlationOpts = append(correlationOpts, correlation.WithPropagation())
}
handler = correlation.InjectCorrelationID(handler, correlationOpts...)