Remove leftover Printf statement
Signed-off-by: Florent Heyworth <florent@heyworth.tech>
This commit is contained in:
parent
cf313435fe
commit
a9e3e6e4ad
1 changed files with 0 additions and 2 deletions
|
@ -647,8 +647,6 @@ func (ms *manifests) digestFromResponse(ctx context.Context, resp *http.Response
|
|||
// the digest from the response body. As a last fallback, a HEAD request is made.
|
||||
// The function may return an empty digest - it is up to the caller to determine if not receiving the digest is an error.
|
||||
dgstHeader := resp.Header.Get("Docker-Content-Digest")
|
||||
fmt.Printf("%s has mediatype: '%s' and 'Docker-Content-Digest': '%s' \n", manifestUrl,
|
||||
resp.Header.Get("Content-Type"), dgstHeader)
|
||||
if dgstHeader != "" {
|
||||
return dgstHeader, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue