Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
xyjixyjixyji committed Jul 13, 2023
1 parent 7386801 commit 50d05e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/services/fs/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl oio::Write for FsWriter<tokio::fs::File> {
async fn sink(&mut self, _size: u64, mut s: oio::Streamer) -> Result<()> {
while let Some(bytes) = s.next().await {
let b = bytes?;
self.f.write_all(&b).await.map_err(parse_io_error)?;
self.f.write(b).await.map_err(parse_io_error)?;
}

Ok(())
Expand Down

0 comments on commit 50d05e4

Please sign in to comment.