Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Mar 8, 2025
1 parent 29ec1a0 commit da4cdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinks/webhdfs/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async fn hdfs_rotate_files_after_the_buffer_size_is_reached() {
.unwrap()
.into_iter()
// We need this because we are only interested in files.
.filter(|e| e.is_file())
.filter(|e| e.metadata().is_file())
.collect();

// Sort file path in order, because we have the event id in path.
Expand Down

0 comments on commit da4cdc6

Please sign in to comment.