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
c4cc738c
Commit
c4cc738c
authored
Nov 01, 2023
by
Michael Yang
Browse files
fix log
parent
2c6189f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/upload.go
server/upload.go
+1
-1
No files found.
server/upload.go
View file @
c4cc738c
...
@@ -104,7 +104,7 @@ func (b *blobUpload) Prepare(ctx context.Context, requestURL *url.URL, opts *Reg
...
@@ -104,7 +104,7 @@ func (b *blobUpload) Prepare(ctx context.Context, requestURL *url.URL, opts *Reg
offset
+=
size
offset
+=
size
}
}
log
.
Printf
(
"uploading %s in %d %s part(s)"
,
b
.
Digest
[
7
:
19
],
len
(
b
.
Parts
),
format
.
HumanBytes
(
s
ize
))
log
.
Printf
(
"uploading %s in %d %s part(s)"
,
b
.
Digest
[
7
:
19
],
len
(
b
.
Parts
),
format
.
HumanBytes
(
b
.
Parts
[
0
]
.
S
ize
))
requestURL
,
err
=
url
.
Parse
(
location
)
requestURL
,
err
=
url
.
Parse
(
location
)
if
err
!=
nil
{
if
err
!=
nil
{
...
...
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