From d7b593defff090f9ad3372bf01eb231f06abce75 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 21 Feb 2023 17:59:07 +0100 Subject: [PATCH] hotplug net: whitespace/indentation fixup 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 --- src/PVE/LXC.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index d419124..54ee0d9 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -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" ]; -- 2.39.2