mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +00:00
Merge pull request #537 from jmorganca/mxyng/upload
fix error on upload chunk
This commit is contained in:
@@ -78,6 +78,8 @@ func uploadBlobChunked(ctx context.Context, requestURL *url.URL, layer *Layer, r
|
|||||||
Total: layer.Size,
|
Total: layer.Size,
|
||||||
Completed: int(offset),
|
Completed: int(offset),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
offset += chunk
|
offset += chunk
|
||||||
|
|||||||
Reference in New Issue
Block a user