Skip to content

Commit 93c622e

Browse files
lsm5mtrmac
andauthored
Update image/directory/directory_dest.go
Co-authored-by: Miloslav Trmač <[email protected]>
1 parent d1587a4 commit 93c622e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/directory/directory_dest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (d *dirImageDestination) PutBlobWithOptions(ctx context.Context, stream io.
175175
return private.UploadedBlob{}, err
176176
}
177177

178-
if blobDigest.Algorithm() != digest.Canonical {
178+
if blobDigest.Algorithm() != digest.Canonical { // compare the special case in layerPath
179179
d.usesNonSHA256Digest = true
180180
}
181181

0 commit comments

Comments
 (0)