mirror of https://github.com/ollama/ollama
server: fix duplicate 'is' typo in comment (#12985)
This commit is contained in:
parent
30fcc71983
commit
780762f9d2
|
|
@ -465,7 +465,7 @@ type downloadOpts struct {
|
|||
// downloadBlob downloads a blob from the registry and stores it in the blobs directory
|
||||
func downloadBlob(ctx context.Context, opts downloadOpts) (cacheHit bool, _ error) {
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue