Skip to content

Commit

Permalink
Fix error message claiming non-regular files are directories. Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
nh2 authored Apr 3, 2024
1 parent 24dc8d5 commit 43842ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickwit/quickwit-storage/src/local_file_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ impl Storage for LocalFileStorage {
Ok(metadata.len())
} else {
Err(StorageErrorKind::NotFound.with_error(anyhow::anyhow!(
"file `{}` is actually a directory",
"file `{}` is not a regular file, cannot determine its size",
path.display()
)))
}
Expand Down

0 comments on commit 43842ac

Please sign in to comment.