ソースを参照

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>
Paul "TBBle" Hampson 1 年間 前
コミット
641050c93f
2 ファイル変更2 行追加2 行削除
  1. 1 1
      daemon/containerd/image_builder.go
  2. 1 1
      daemon/images/image.go

+ 1 - 1
daemon/containerd/image_builder.go

@@ -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) {

+ 1 - 1
daemon/images/image.go

@@ -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")
 }