code cleanup, storage_size() was Option<u64>, now Result<u64> (#7424)

This commit is contained in:
Sunny Gleason
2019-12-12 14:55:30 -05:00
committed by GitHub
parent dbb8267b09
commit 83218c479a
3 changed files with 6 additions and 9 deletions

View File

@ -66,7 +66,7 @@ impl LedgerCleanupService {
let disk_utilization_post = blocktree.storage_size();
if let (Some(disk_utilization_pre), Some(disk_utilization_post)) =
if let (Ok(disk_utilization_pre), Ok(disk_utilization_post)) =
(disk_utilization_pre, disk_utilization_post)
{
datapoint_debug!(