aboutsummaryrefslogtreecommitdiff
path: root/src/block_ref_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/block_ref_table.rs')
-rw-r--r--src/block_ref_table.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/block_ref_table.rs b/src/block_ref_table.rs
index e2310f74..f3a14d81 100644
--- a/src/block_ref_table.rs
+++ b/src/block_ref_table.rs
@@ -55,8 +55,11 @@ impl TableFormat for BlockRefTable {
}
}
if was_before && !is_after {
- if let Err(e) = garage.block_manager.block_decref(&new.block, &garage.background) {
- eprintln!("Failed to decref or delete block {:?}: {}", &new.block, e);
+ if let Err(e) = garage
+ .block_manager
+ .block_decref(&new.block, &garage.background)
+ {
+ eprintln!("Failed to decref block {:?}: {}", &new.block, e);
}
}
}