Browse Source

fix bug found by tests

pull/1560/head
Chris Lu 4 years ago
parent
commit
2579edbc60
  1. 1
      weed/operation/upload_content.go

1
weed/operation/upload_content.go

@ -88,6 +88,7 @@ func doUpload(uploadUrl string, filename string, cipher bool, reader io.Reader,
err = fmt.Errorf("read input: %v", err)
return
}
data = buf.Bytes()
}
uploadResult, uploadErr := retriedUploadData(uploadUrl, filename, cipher, data, isInputCompressed, mtype, pairMap, jwt)
return uploadResult, uploadErr, data

Loading…
Cancel
Save