diff --git a/remotes/docker/pusher.go b/remotes/docker/pusher.go index ef6e8056a..7fbbbb7cd 100644 --- a/remotes/docker/pusher.go +++ b/remotes/docker/pusher.go @@ -138,9 +138,7 @@ func (p dockerPusher) push(ctx context.Context, desc ocispec.Descriptor, ref str p.tracker.SetStatus(ref, Status{ Committed: true, Status: content.Status{ - Ref: ref, - Total: desc.Size, - Offset: desc.Size, + Ref: ref, // TODO: Set updated time? }, }) diff --git a/remotes/handlers.go b/remotes/handlers.go index 31de55516..75707703b 100644 --- a/remotes/handlers.go +++ b/remotes/handlers.go @@ -283,10 +283,6 @@ func SkipNonDistributableBlobs(f images.HandlerFunc) images.HandlerFunc { return nil, images.ErrSkipDesc } - if images.IsLayerType(desc.MediaType) { - return nil, nil - } - children, err := f(ctx, desc) if err != nil { return nil, err