fix: polish log to make more clear
@@ -216,12 +216,12 @@ func (c *Converter) Convert(ctx context.Context, opts ...ConvertOpt) (ocispec.De
ref := remotes.MakeRefKey(ctx, desc)
if err := content.WriteBlob(ctx, c.contentStore, ref, bytes.NewReader(mb), desc, content.WithLabels(labels)); err != nil {
- return ocispec.Descriptor{}, errors.Wrap(err, "failed to write config")
+ return ocispec.Descriptor{}, errors.Wrap(err, "failed to write image manifest")
}
ref = remotes.MakeRefKey(ctx, config)
if err := content.WriteBlob(ctx, c.contentStore, ref, bytes.NewReader(b), config); err != nil {
- return ocispec.Descriptor{}, errors.Wrap(err, "failed to write config")
+ return ocispec.Descriptor{}, errors.Wrap(err, "failed to write image config")
}
return desc, nil
