Signed-off-by: Christian Ebner <c.eb...@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 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel