server: fix duplicate 'is' typo in comment (#12985)

This commit is contained in:
breatn
2025-11-06 22:44:44 +00:00
committed by GitHub
parent 30fcc71983
commit 780762f9d2

View File

@@ -465,7 +465,7 @@ type downloadOpts struct {
// downloadBlob downloads a blob from the registry and stores it in the blobs directory // downloadBlob downloads a blob from the registry and stores it in the blobs directory
func downloadBlob(ctx context.Context, opts downloadOpts) (cacheHit bool, _ error) { func downloadBlob(ctx context.Context, opts downloadOpts) (cacheHit bool, _ error) {
if opts.digest == "" { if opts.digest == "" {
return false, fmt.Errorf(("%s: %s"), opts.mp.GetNamespaceRepository(), "digest is is empty") return false, fmt.Errorf(("%s: %s"), opts.mp.GetNamespaceRepository(), "digest is empty")
} }
fp, err := GetBlobsPath(opts.digest) fp, err := GetBlobsPath(opts.digest)