Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
---
 src/PVE/API2/LXC/Status.pm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/PVE/API2/LXC/Status.pm b/src/PVE/API2/LXC/Status.pm
index bfd851f..14a4415 100644
--- a/src/PVE/API2/LXC/Status.pm
+++ b/src/PVE/API2/LXC/Status.pm
@@ -230,11 +230,7 @@ __PACKAGE__->register_method({
            my $realcmd = sub {
                my $upid = shift;
 
-               syslog('info', "stoping CT $vmid: $upid\n");
-
-               my $conf = PVE::LXC::load_config($vmid);
-
-               my $storage_cfg = PVE::Storage::config();
+               syslog('info', "stopping CT $vmid: $upid\n");
 
                my $cmd = ['lxc-stop', '-n', $vmid, '--kill'];
 
-- 
2.1.4

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to