diff --git a/src/api2/status.rs b/src/api2/status.rs index 34e05056..4f985430 100644 --- a/src/api2/status.rs +++ b/src/api2/status.rs @@ -161,6 +161,8 @@ fn datastore_status( if b != 0.0 { let estimate = (1.0 - a) / b; entry["estimated-full-date"] = Value::from(estimate.floor() as u64); + } else { + entry["estimated-full-date"] = Value::from(0); } } }