Remove leftover Printf statement

Signed-off-by: Florent Heyworth <florent@heyworth.tech>
This commit is contained in:
Florent Heyworth 2023-02-23 11:29:13 +01:00
parent cf313435fe
commit a9e3e6e4ad

View file

@ -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
}