fix: Box a source error to please clippy

pull/24376/head
Carol (Nichols || Goulding) 2022-09-12 17:38:37 -04:00
parent 8a594621bc
commit d971980fd3
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 4 additions and 2 deletions

View File

@ -124,7 +124,7 @@ pub(crate) enum Error {
#[snafu(display("{}", source))]
Combining {
source: parquet_file_combining::Error,
source: Box<parquet_file_combining::Error>,
},
#[snafu(display("{}", source))]
@ -186,7 +186,9 @@ async fn full_compaction(
&compactor.compaction_input_file_bytes,
)
.await
.context(CombiningSnafu)?;
.map_err(|e| Error::Combining {
source: Box::new(e),
})?;
}
}