]> git.proxmox.com Git - pve-container.git/commitdiff
alloc_disk: indentation/text-width cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 08:49:44 +0000 (10:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 08:49:44 +0000 (10:49 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC.pm

index 05c9dc9a166f67b3160c17d5aaf9d7cc483939d1..b2c4d7a33ee2780f8686ed77704972bf4cc39915 100644 (file)
@@ -1894,17 +1894,14 @@ sub alloc_disk {
        my $do_format = 0;
        if ($scfg->{content}->{rootdir} && $scfg->{path}) {
            if ($size_kb > 0) {
-               $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'raw',
-                                                  undef, $size_kb);
+               $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'raw', undef, $size_kb);
                $do_format = 1;
            } else {
-               $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'subvol',
-                                                  undef, 0);
+               $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'subvol', undef, 0);
                $needs_chown = 1;
            }
        } elsif ($scfg->{type} eq 'zfspool') {
-           $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'subvol',
-                                              undef, $size_kb);
+           $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'subvol', undef, $size_kb);
            $needs_chown = 1;
        } elsif ($scfg->{content}->{rootdir}) {
            $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'raw', undef, $size_kb);