Avoid the use of 'we', mention the volume in question and add a
newline.
Signed-off-by: Fiona Ebner <[email protected]>
---
src/PVE/Storage/LVMPlugin.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Storage/LVMPlugin.pm b/src/PVE/Storage/LVMPlugin.pm
index f9349de..8392c89 100644
--- a/src/PVE/Storage/LVMPlugin.pm
+++ b/src/PVE/Storage/LVMPlugin.pm
@@ -1441,7 +1441,8 @@ sub rename_volume {
if ($format eq 'qcow2') {
$class->activate_volume($storeid, $scfg, $source_volname);
my $snapshots = $class->volume_snapshot_info($scfg, $storeid,
$source_volname);
- die "we can't rename volume if external snapshot exists" if
$snapshots->{current}->{parent};
+ die "can't rename volume '$source_volname' - external snapshot
exists\n"
+ if $snapshots->{current}->{parent};
}
$target_volname = $class->find_free_diskname($storeid, $scfg,
$target_vmid, $format)
--
2.47.3