Skip to content

Commit

Permalink
Merge pull request #3469 from mulkieran/error-message-detail
Browse files Browse the repository at this point in the history
Add more detail to an error message
  • Loading branch information
mulkieran authored Oct 18, 2023
2 parents 9aaf404 + 16ed850 commit 7576538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/strat_engine/thinpool/thinpool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7576538

Please sign in to comment.