From 16ed8508dd921708b389b7bdda65f36eeade148a Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 18 Oct 2023 09:36:18 -0400 Subject: [PATCH] Add more detail to an error message Signed-off-by: mulhern --- src/engine/strat_engine/thinpool/thinpool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/strat_engine/thinpool/thinpool.rs b/src/engine/strat_engine/thinpool/thinpool.rs index 5a2a701aff..479641d328 100644 --- a/src/engine/strat_engine/thinpool/thinpool.rs +++ b/src/engine/strat_engine/thinpool/thinpool.rs @@ -1536,7 +1536,7 @@ impl ThinPool { }; if sum > data_limit { (false, Err(StratisError::Msg(format!( - "Cannot disable overprovisioning on a pool that is already overprovisioned; the sum of the logical sizes of all filesystems and snapshots must be less than the data space available to the thin pool ({data_limit}) to disable overprovisioning" + "Cannot disable overprovisioning on a pool that is already overprovisioned; the sum of the logical sizes of all filesystems and snapshots ({sum}) must be less than the data space available to the thin pool ({data_limit}) to disable overprovisioning" )))) } else { self.enable_overprov = false;