Skip to content

Commit

Permalink
Fix format error
Browse files Browse the repository at this point in the history
Signed-off-by: v01dstar <[email protected]>
  • Loading branch information
v01dstar committed Nov 7, 2023
1 parent b0f6b3f commit cbb8a6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/file_pipe_log/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ impl<F: FileSystem> SinglePipe<F> {
let mut writable_file = self.writable_file.lock();
if writable_file.writer.offset() >= self.target_file_size {
if let Err(e) = self.rotate_imp(&mut writable_file) {
// As the disk is already full and is no valid and extra directory to flush data, it can safely return the `no space err` to users.
// As the disk is already full and is no valid and extra directory to flush
// data, it can safely return the `no space err` to users.
if is_io_no_space_err(&e) {
return Err(e);
}
Expand Down

0 comments on commit cbb8a6b

Please sign in to comment.