1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 00:09:40 +02:00

fix(registries): sync code with ee [EE-2176] (#6355)

fixes [EE-2176]
This commit is contained in:
Chaim Lev-Ari 2022-01-11 07:35:09 +02:00 committed by GitHub
parent bc54d687be
commit 389561eb28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}