Merge pull request #47456 from huang-jl/fix_restore_digest
libcontainerd: change the digest used when restoring
This commit is contained in:
commit
589dc5e647
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue