If a partial upload has a deferred size, then it's not finished
This commit is contained in:
parent
750d4d5eb6
commit
c605926ff8
|
@ -888,7 +888,7 @@ func (handler *UnroutedHandler) sizeOfUploads(ids []string) (size int64, err err
|
||||||
return size, err
|
return size, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if info.Offset != info.Size {
|
if info.SizeIsDeferred || info.Offset != info.Size {
|
||||||
err = ErrUploadNotFinished
|
err = ErrUploadNotFinished
|
||||||
return size, err
|
return size, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue