mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix compilation
This commit is contained in:
parent
e7c04af1d0
commit
e4ef3814e7
|
@ -18,7 +18,7 @@ type MockClient struct {
|
|||
}
|
||||
|
||||
func (m *MockClient) Do(req *http.Request) (*http.Response, error) {
|
||||
n, originalSize, err := needle.CreateNeedleFromRequest(req, 1024*1024)
|
||||
n, originalSize, err := needle.CreateNeedleFromRequest(req, false, 1024*1024)
|
||||
if m.needleHandling != nil {
|
||||
m.needleHandling(n, originalSize, err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue