Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
08d7c2a9
Commit
08d7c2a9
authored
Sep 15, 2023
by
Michael Yang
Browse files
fix error on upload chunk
parent
bc9573dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
server/upload.go
server/upload.go
+2
-0
No files found.
server/upload.go
View file @
08d7c2a9
...
...
@@ -78,6 +78,8 @@ func uploadBlobChunked(ctx context.Context, requestURL *url.URL, layer *Layer, r
Total
:
layer
.
Size
,
Completed
:
int
(
offset
),
})
return
err
}
offset
+=
chunk
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment