Skip to content

Commit e8c40f0

Browse files
committed
Added a test case
log content-type to help diagnostic on supported manifests' media types Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 0173950 commit e8c40f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (r *Registry) Manifest(ctx context.Context, repository, ref string) (distri
4141
if err != nil {
4242
return nil, err
4343
}
44-
r.Logf("registry.manifests resp.Status=%s, body=%s", resp.Status, body)
44+
r.Logf("registry.manifests resp.Status=%s, type=%s, body=%s", resp.Status, resp.Header.Get("Content-type"), body)
4545

4646
m, _, err := distribution.UnmarshalManifest(resp.Header.Get("Content-Type"), body)
4747
if err != nil {

0 commit comments

Comments
 (0)