[pve-devel] [PATCH container 2/2] Remove obsolete read from storage.cfg in vm_start api call

Alwin Antreich a.antreich at proxmox.com
Fri Mar 9 16:15:00 CET 2018


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 src/PVE/API2/LXC/Status.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/PVE/API2/LXC/Status.pm b/src/PVE/API2/LXC/Status.pm
index 976f264..b98dc24 100644
--- a/src/PVE/API2/LXC/Status.pm
+++ b/src/PVE/API2/LXC/Status.pm
@@ -185,8 +185,6 @@ __PACKAGE__->register_method({
 
 		    }
 
-		    my $storage_cfg = cfs_read_file("storage.cfg");
-
 		    PVE::LXC::vm_start($vmid, $conf, $skiplock);
 
 		    return;
-- 
2.11.0





More information about the pve-devel mailing list