mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-09-19 15:31:05 +02: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) {
|
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 {
|
if m.needleHandling != nil {
|
||||||
m.needleHandling(n, originalSize, err)
|
m.needleHandling(n, originalSize, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue