[pve-devel] [PATCH v3 container 3/7] Newline cleanups

Christian Ebner c.ebner at proxmox.com
Mon Jul 1 15:43:49 CEST 2019


Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
 src/PVE/API2/LXC.pm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index cf14d75..1561cfe 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -636,16 +636,12 @@ __PACKAGE__->register_method({
 	my ($param) = @_;
 
 	my $rpcenv = PVE::RPCEnvironment::get();
-
 	my $authuser = $rpcenv->get_user();
-
 	my $vmid = $param->{vmid};
 
 	# test if container exists
 	my $conf = PVE::LXC::Config->load_config($vmid);
-
 	my $storage_cfg = cfs_read_file("storage.cfg");
-
 	PVE::LXC::Config->check_protection($conf, "can't remove CT $vmid");
 
 	die "unable to remove CT $vmid - used in HA resources\n"
-- 
2.20.1




More information about the pve-devel mailing list