From aa191deff1ab80a0dd31538f04bb862591fce10b Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Mon, 29 Jun 2020 11:21:21 -0700 Subject: [PATCH] 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 --- images/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/image.go b/images/image.go index ee5778d24..1868ee88d 100644 --- a/images/image.go +++ b/images/image.go @@ -362,7 +362,7 @@ func Children(ctx context.Context, provider content.Provider, desc ocispec.Descr // childless data types. return nil, nil } - log.G(ctx).Warnf("encountered unknown type %v; children may not be fetched", desc.MediaType) + log.G(ctx).Debugf("encountered unknown type %v; children may not be fetched", desc.MediaType) } return descs, nil