mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix bug found by tests
This commit is contained in:
parent
e0c8507d93
commit
2579edbc60
|
@ -88,6 +88,7 @@ func doUpload(uploadUrl string, filename string, cipher bool, reader io.Reader,
|
||||||
err = fmt.Errorf("read input: %v", err)
|
err = fmt.Errorf("read input: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
data = buf.Bytes()
|
||||||
}
|
}
|
||||||
uploadResult, uploadErr := retriedUploadData(uploadUrl, filename, cipher, data, isInputCompressed, mtype, pairMap, jwt)
|
uploadResult, uploadErr := retriedUploadData(uploadUrl, filename, cipher, data, isInputCompressed, mtype, pairMap, jwt)
|
||||||
return uploadResult, uploadErr, data
|
return uploadResult, uploadErr, data
|
||||||
|
|
Loading…
Reference in a new issue