apache / opendal

Apache OpenDAL: access data freely.
https://opendal.apache.org
Apache License 2.0
2.99k stars 417 forks source link

Error code in FutureWrite #4815

Closed hoslo closed 6 days ago

hoslo commented 6 days ago

https://github.com/apache/opendal/blob/3baf71ee779ca73acf92f99899b0ed9d2408291e/core/src/types/operator/operator_futures.rs#L303

Should be

  pub fn concurrent(self, v: usize) -> Self {
        self.map(|(args, bs)| (args.with_concurrent(v), bs))
    }