Merge pull request #47466 from huang-jl/25.0_backport_fix_restore_digest

[25.0 backport] libcontainerd: change the digest used when restoring
This commit is contained in:
Paweł Gronowski 2024-02-28 17:42:18 +01:00 committed by GitHub
commit cb66214dfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -723,7 +723,7 @@ func (c *client) writeContent(ctx context.Context, mediaType, ref string, r io.R
}
return &types.Descriptor{
MediaType: mediaType,
Digest: writer.Digest().Encoded(),
Digest: writer.Digest().String(),
Size: size,
}, nil
}