]> git.proxmox.com Git - qemu-server.git/commitdiff
load config from correct node
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 6 Aug 2013 06:15:14 +0000 (08:15 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 6 Aug 2013 06:15:14 +0000 (08:15 +0200)
PVE/API2/Qemu.pm

index 772b2cdf610ef6373d0ec8194d67ef2c8092b4aa..9450b16d36c96f916cfcfdde5133014b45409ccd 100644 (file)
@@ -1273,7 +1273,7 @@ __PACKAGE__->register_method({
        my $vmid = $param->{vmid};
        my $node = $param->{node};
 
-       my $conf = PVE::QemuServer::load_config($vmid); # check if VM exists
+       my $conf = PVE::QemuServer::load_config($vmid, $node); # check if VM exists
 
        my $authpath = "/vms/$vmid";