From 389561eb2876641d44b67ccfdff90f0fa41f8724 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Tue, 11 Jan 2022 07:35:09 +0200 Subject: [PATCH] fix(registries): sync code with ee [EE-2176] (#6355) fixes [EE-2176] --- api/http/proxy/factory/gitlab/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/proxy/factory/gitlab/transport.go b/api/http/proxy/factory/gitlab/transport.go index 4857ed710..99e0e6dd9 100644 --- a/api/http/proxy/factory/gitlab/transport.go +++ b/api/http/proxy/factory/gitlab/transport.go @@ -24,7 +24,7 @@ func (transport *Transport) RoundTrip(request *http.Request) (*http.Response, er return nil, errors.New("no gitlab token provided") } - r, err := http.NewRequest(request.Method, request.URL.String(), nil) + r, err := http.NewRequest(request.Method, request.URL.String(), request.Body) if err != nil { return nil, err }