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:
parent
115c1608b9
commit
48f963398f
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue