Przeglądaj źródła

Merge pull request #46071 from thaJeztah/fix_comment

daemon/containerd: ImageService. LoadImage fix stray slash in comment
Sebastiaan van Stijn 1 rok temu
rodzic
commit
08815cb1b9
1 zmienionych plików z 1 dodań i 1 usunięć
  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