Browse Source

Merge pull request #46071 from thaJeztah/fix_comment

daemon/containerd: ImageService. LoadImage fix stray slash in comment
Sebastiaan van Stijn 1 năm trước cách đây
mục cha
commit
08815cb1b9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      daemon/containerd/image_exporter.go

+ 1 - 1
daemon/containerd/image_exporter.go

@@ -147,7 +147,7 @@ func (i *ImageService) LoadImage(ctx context.Context, inTar io.ReadCloser, outSt
 
 		// Create an additional image with dangling name for imported images...
 		containerd.WithDigestRef(danglingImageName),
-		/// ... but only if they don't have a name or it's invalid.
+		// ... but only if they don't have a name or it's invalid.
 		containerd.WithSkipDigestRef(func(nameFromArchive string) bool {
 			if nameFromArchive == "" {
 				return false