mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-23 15:58:10 -07:00
run cargo fmt
This commit is contained in:
committed by
Brad Warren
parent
94b989c3c0
commit
76ae8fccd9
+4
-7
@@ -387,13 +387,10 @@ impl DiagTask {
|
||||
"total QMDL bytes written: {}, updating manifest...",
|
||||
file_size
|
||||
);
|
||||
let index = qmdl_store
|
||||
.current_entry
|
||||
.expect("DiagDevice had qmdl_writer, but QmdlStore didn't have current entry???");
|
||||
if let Err(e) = qmdl_store
|
||||
.update_entry_qmdl_size(index, file_size)
|
||||
.await
|
||||
{
|
||||
let index = qmdl_store.current_entry.expect(
|
||||
"DiagDevice had qmdl_writer, but QmdlStore didn't have current entry???",
|
||||
);
|
||||
if let Err(e) = qmdl_store.update_entry_qmdl_size(index, file_size).await {
|
||||
let reason = format!("failed to update manifest (disk full?): {e}");
|
||||
error!("{reason}");
|
||||
self.stop(qmdl_store, Some(reason)).await;
|
||||
|
||||
Reference in New Issue
Block a user