Skip to content

Commit 7576538

Browse files
authored
Merge pull request #3469 from mulkieran/error-message-detail
Add more detail to an error message
2 parents 9aaf404 + 16ed850 commit 7576538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/strat_engine/thinpool/thinpool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ impl ThinPool {
15361536
};
15371537
if sum > data_limit {
15381538
(false, Err(StratisError::Msg(format!(
1539-
"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"
1539+
"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"
15401540
))))
15411541
} else {
15421542
self.enable_overprov = false;

0 commit comments

Comments
 (0)