mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
add .golangci.yaml
This commit is contained in:
parent
997253143f
commit
acfc376efd
7 changed files with 37 additions and 10 deletions
|
@ -88,7 +88,7 @@ func (b *blobUpload) Prepare(ctx context.Context, requestURL *url.URL, opts *Reg
|
|||
return nil
|
||||
}
|
||||
|
||||
var size = b.Total / numUploadParts
|
||||
size := b.Total / numUploadParts
|
||||
switch {
|
||||
case size < minUploadPartSize:
|
||||
size = minUploadPartSize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue