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

fix(api): introduce gitlab proxy package

This commit is contained in:
Anthony Lapenna 2019-11-13 13:12:55 +13:00
parent 19d4db13be
commit 914b46f813
6 changed files with 62 additions and 42 deletions

View file

@ -33,7 +33,7 @@ func NewTransport(credentials *portainer.AzureCredentials) *Transport {
}
}
// RoundTrip is the implementation of the Transport interface.
// RoundTrip is the implementation of the the http.RoundTripper interface
func (transport *Transport) RoundTrip(request *http.Request) (*http.Response, error) {
err := transport.retrieveAuthenticationToken()
if err != nil {