Merge pull request #46071 from thaJeztah/fix_comment

daemon/containerd: ImageService. LoadImage fix stray slash in comment
This commit is contained in:
Sebastiaan van Stijn 2023-07-25 10:39:53 +02:00 committed by GitHub
commit 08815cb1b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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