mirror of https://github.com/portainer/portainer
refactor(api): remove useless log.printf statement
parent
115c1608b9
commit
48f963398f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue