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

refactor(api): remove useless log.printf statement

This commit is contained in:
Anthony Lapenna 2018-06-20 20:43:39 +03:00
parent 115c1608b9
commit 48f963398f

View file

@ -3,7 +3,6 @@ package proxy
import ( import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"log"
"net/http" "net/http"
"path" "path"
"regexp" "regexp"
@ -304,7 +303,6 @@ func (p *proxyTransport) replaceRegistryAuthenticationHeader(request *http.Reque
} }
authenticationHeader := createRegistryAuthenticationHeader(originalHeaderData.Serveraddress, accessContext) authenticationHeader := createRegistryAuthenticationHeader(originalHeaderData.Serveraddress, accessContext)
log.Printf("Header: %+v", authenticationHeader)
headerData, err := json.Marshal(authenticationHeader) headerData, err := json.Marshal(authenticationHeader)
if err != nil { if err != nil {