]> git.proxmox.com Git - pve-container.git/commitdiff
hotplug net: whitespace/indentation fixup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Feb 2023 16:59:07 +0000 (17:59 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Feb 2023 16:59:09 +0000 (17:59 +0100)
we don't keep the closing param parenthesis at the same line if
params use up more than one line.

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

index d419124027d5afec973e629397ba6f2cda3ce78c..54ee0d97a5462608f5789fd127df306e95b45e47 100644 (file)
@@ -1004,8 +1004,9 @@ sub hotplug_net {
        PVE::Network::veth_create($veth, $vethpeer, $newnet->{bridge}, $newnet->{hwaddr});
     }
     PVE::LXC::net_tap_plug(
-       $veth, $newnet->{bridge}, $newnet->{tag}, $newnet->{firewall}, $newnet->{trunks},
-       $newnet->{rate}, { mac => $newnet->{hwaddr} });
+        $veth, $newnet->{bridge}, $newnet->{tag}, $newnet->{firewall}, $newnet->{trunks},
+        $newnet->{rate}, { mac => $newnet->{hwaddr} },
+    );
 
     # attach peer in container
     my $cmd = ['lxc-device', '-n', $vmid, 'add', $vethpeer, "$eth" ];