Skip to content

Commit

Permalink
Merge pull request #47456 from huang-jl/fix_restore_digest
Browse files Browse the repository at this point in the history
libcontainerd: change the digest used when restoring
  • Loading branch information
thaJeztah committed Feb 28, 2024
2 parents b37f8c8 + da643c0 commit 589dc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainerd/remote/client.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 589dc5e

Please sign in to comment.