Makes the definition more amenable for future additions.

No functional change intended.

Signed-off-by: Friedrich Weber <f.we...@proxmox.com>
---

Notes:
    changes since v2: none
    
    new in v2

 src/PVE/Storage/LVMPlugin.pm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/PVE/Storage/LVMPlugin.pm b/src/PVE/Storage/LVMPlugin.pm
index 2ebec88..b371b4c 100644
--- a/src/PVE/Storage/LVMPlugin.pm
+++ b/src/PVE/Storage/LVMPlugin.pm
@@ -345,7 +345,14 @@ sub lvcreate {
        $size .= "k"; # default to kilobytes
     }
 
-    my $cmd = ['/sbin/lvcreate', '-aly', '-Wy', '--yes', '--size', $size, 
'--name', $name];
+    my $cmd = [
+       '/sbin/lvcreate',
+       '-aly',
+       '-Wy',
+       '--yes',
+       '--size', $size,
+       '--name', $name,
+    ];
     for my $tag (@$tags) {
        push @$cmd, '--addtag', $tag;
     }
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to