From cf0cd7e6408737e7005aae6e1126fc1d2fb5217c Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 10 Mar 2024 17:25:54 -0500 Subject: [PATCH] branch_tier.cpp --- src/branch_tier.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/branch_tier.cpp b/src/branch_tier.cpp index 5e36a288..fa20122e 100644 --- a/src/branch_tier.cpp +++ b/src/branch_tier.cpp @@ -55,8 +55,10 @@ BranchTier::BranchTier() BranchTier::BranchTier(toml::value const &v_ uint64_t const min_free_space_) { + uint64_t min_free_space; auto const &branches = toml::find(v_,"branch").as_array(); + min_free_space = toml::find_or(v_,"min-free-space",min_free_space_); for(auto const &branch : branches) { bool enabled;