Typo fixes

* conatinerd => containerd
* ROLayer => RWLayer

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paul "TBBle" Hampson 2023-09-23 22:44:05 +09:00 committed by Paweł Gronowski
parent 83de55b370
commit 641050c93f
No known key found for this signature in database
GPG key ID: B85EFCFE26DEF92A
2 changed files with 2 additions and 2 deletions

View file

@ -389,7 +389,7 @@ func (rw *rwlayer) Release() (outErr error) {
}
if err := mount.UnmountAll(rw.root, 0); err != nil && !errors.Is(err, os.ErrNotExist) {
log.G(context.TODO()).WithError(err).WithField("root", rw.root).Error("failed to unmount ROLayer")
log.G(context.TODO()).WithError(err).WithField("root", rw.root).Error("failed to unmount RWLayer")
return err
}
if err := os.Remove(rw.root); err != nil && !errors.Is(err, os.ErrNotExist) {

View file

@ -47,7 +47,7 @@ type manifest struct {
}
func (i *ImageService) PrepareSnapshot(ctx context.Context, id string, parentImage string, platform *ocispec.Platform, setupInit func(string) error) error {
// Only makes sense when conatinerd image store is used
// Only makes sense when containerd image store is used
panic("not implemented")
}