mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 05:49:56 +08:00
minor
This commit is contained in:
@@ -105,7 +105,7 @@ func (fs *FilerServer) uploadReaderToChunks(w http.ResponseWriter, r *http.Reque
|
||||
}()
|
||||
|
||||
chunk, toChunkErr := fs.dataToChunk(fileName, contentType, bytesBuffer.Bytes(), offset, so)
|
||||
if toChunkErr != nil {
|
||||
if uploadErr == nil && toChunkErr != nil {
|
||||
uploadErr = toChunkErr
|
||||
}
|
||||
if chunk != nil {
|
||||
|
Reference in New Issue
Block a user