c8d/pull: Emit Pulling fs layer

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit ff5f780f2b)
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
Paweł Gronowski 2024-02-22 17:40:44 +01:00 committed by Albin Kerouanton
parent 8e3bcf1974
commit 2001813571

View file

@ -117,6 +117,9 @@ func (i *ImageService) pullTag(ctx context.Context, ref reference.Named, platfor
progress.Message(out, "", distribution.DeprecatedSchema1ImageMessage(ref))
sentSchema1Deprecation = true
}
if images.IsLayerType(desc.MediaType) {
progress.Update(out, desc.Digest.String(), "Pulling fs layer")
}
if images.IsManifestType(desc.MediaType) {
if !sentPullingFrom {
var tagOrDigest string