[pve-devel] [PATCH 1/2] Fix leftover OpenVZ call in lxc api
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Jul 29 16:33:19 CEST 2015
---
src/PVE/API2/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index f8ac02d..9e82bc4 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -833,7 +833,7 @@ __PACKAGE__->register_method({
my ($param) = @_;
# test if VM exists
- my $conf = PVE::OpenVZ::load_config($param->{vmid});
+ my $conf = PVE::LXC::load_config($param->{vmid});
my $res = [
{ subdir => 'current' },
--
2.1.4
More information about the pve-devel
mailing list