Skip to contentSkip to conversation

master - lvconvert: change error message

PATCH David Teigland 1 participant 1 message Jul 22, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2c3b92b550ee1ba0c165acb7da87cc5cd8cf3eb9
Commit:        2c3b92b550ee1ba0c165acb7da87cc5cd8cf3eb9
Parent:        7fc1617819236d4d6f8b0ffbcd4980fcc5bc5de6
Author:        David Teigland <[email protected]>
AuthorDate:    Fri Jul 22 10:00:24 2016 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Jul 22 10:00:24 2016 -0500

lvconvert: change error message

for implicit pool conversion since it's also used
when the lv is already a pool

---
 tools/lvconvert.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
tools/lvconvert.c +2 -2
index 9dd7254..5d29cc4 100644
@@ -3913,7 +3913,7 @@ static int _convert_striped_thin(struct cmd_context *cmd, struct logical_volume
 {
 	/* lvconvert --thin includes an implicit conversion of the thinpool arg to type thin-pool. */
 	if (!_lvconvert_pool(cmd, lv, lp)) {
-		log_error("Implicit conversion of --thinpool arg to type thin-pool failed.");
+		log_error("Conversion of --thinpool arg to type thin-pool failed.");
 		return 0;
 	}
 
@@ -3939,7 +3939,7 @@ static int _convert_striped_cache(struct cmd_context *cmd, struct logical_volume
 {
 	/* lvconvert --cache includes an implicit conversion of the cachepool arg to type cache-pool. */
 	if (!_lvconvert_pool(cmd, lv, lp)) {
-		log_error("Implicit conversion of --cachepool arg to type cache-pool failed.");
+		log_error("Conversion of --cachepool arg to type cache-pool failed.");
 		return 0;
 	}