Skip to content

Commit aa191de

Browse files
committed
Change log for unknown mt to debug
This log message shows up in the client's logs. For any media type that the client doesn't know about it will wind up with a warning log. Downgrade this to debug since it is more of a development concern. We encountered this trying to fetch Docker plugins which has a media type for plugin configs. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
1 parent 01a53c2 commit aa191de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ func Children(ctx context.Context, provider content.Provider, desc ocispec.Descr
362362
// childless data types.
363363
return nil, nil
364364
}
365-
log.G(ctx).Warnf("encountered unknown type %v; children may not be fetched", desc.MediaType)
365+
log.G(ctx).Debugf("encountered unknown type %v; children may not be fetched", desc.MediaType)
366366
}
367367

368368
return descs, nil

0 commit comments

Comments
 (0)