]> sourceware.org Git - lvm2.git/commitdiff
pvmove: Change error message
authorMarian Csontos <mcsontos@redhat.com>
Wed, 27 Sep 2017 11:20:25 +0000 (13:20 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Wed, 27 Sep 2017 11:20:25 +0000 (13:20 +0200)
Change error message to match previously used one used by tests.

tools/pvmove.c

index 750f08e24ffa83d394783b9fca6698e40349707c..305647e916bbe5c1cce91d4388702eee607bdbac 100644 (file)
@@ -538,6 +538,7 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd,
        }
 
        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);
                return NULL;
        }
@@ -715,7 +716,7 @@ static int _pvmove_setup_single(struct cmd_context *cmd,
                }
 
                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;
                }
        }
This page took 0.034237 seconds and 5 git commands to generate.