mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
pvmove: Change error message
Change error message to match previously used one used by tests.
This commit is contained in:
parent
8146548d25
commit
090db98828
@ -538,6 +538,7 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (lv_name && !lv_found) {
|
if (lv_name && !lv_found) {
|
||||||
|
/* NOTE: Is this now an internal error? It is already checked in _pvmove_setup_single */
|
||||||
log_error("Logical volume %s not found.", lv_name);
|
log_error("Logical volume %s not found.", lv_name);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -715,7 +716,7 @@ static int _pvmove_setup_single(struct cmd_context *cmd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(lv = find_lv(vg, lv_name))) {
|
if (!(lv = find_lv(vg, lv_name))) {
|
||||||
log_error("Failed to find LV with name %s", lv_name);
|
log_error("Logical volume %s not found.", lv_name);
|
||||||
return ECMD_FAILED;
|
return ECMD_FAILED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user