Browse Source

fix compilation

pull/1388/head
Chris Lu 5 years ago
parent
commit
e4ef3814e7
  1. 2
      weed/operation/needle_parse_test.go

2
weed/operation/needle_parse_test.go

@ -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…
Cancel
Save