]> git.proxmox.com Git - pve-manager.git/commitdiff
pve6to7: make content-type check output an actual list
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 15:09:43 +0000 (17:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 15:11:52 +0000 (17:11 +0200)
As else it gets rather confusing when one has more than one or two
such images.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve6to7.pm

index 7777aa6c0ad7e7c839522e5aeebf0ce621a7c646..f56dd42c0b3ff41070c222912f013812ebdf1b64 100644 (file)
@@ -738,8 +738,8 @@ sub check_storage_content {
 
        if (scalar(@volumes) > 0) {
            $found = 1;
-           log_warn("storage '$storeid' - neither content type 'images' nor 'rootdir' " .
-               "configured, but found guest volume(s) " . join(',', @volumes));
+           log_warn("storage '$storeid' - neither content type 'images' nor 'rootdir' configured"
+               .", but found guest volume(s):\n    " . join("\n    ", @volumes));
        }
     }