[pve-devel] [PATCH ha-manager] LXC refactoring

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Mar 2 13:54:17 CET 2016


call config_file in PVE::LXC::Config instead of PVE::LXC
---
Note: this depends on the patch series against pve-container
and the single patch against pve-common.

 src/PVE/HA/Resources/PVECT.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/HA/Resources/PVECT.pm b/src/PVE/HA/Resources/PVECT.pm
index 939d888..0b44c70 100644
--- a/src/PVE/HA/Resources/PVECT.pm
+++ b/src/PVE/HA/Resources/PVECT.pm
@@ -34,7 +34,7 @@ sub options {
 sub config_file {
     my ($class, $vmid, $nodename) = @_;
 
-    return PVE::LXC::config_file($vmid, $nodename);
+    return PVE::LXC::Config->config_file($vmid, $nodename);
 }
 
 sub exists {
-- 
2.1.4





More information about the pve-devel mailing list