]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/API2/LXC/Config.pm
Refactor lock_container into lock_config_[xx]
[pve-container.git] / src / PVE / API2 / LXC / Config.pm
index 1a1190c6f6a292f31d01a0254cadf0538cc7a0f5..8e9295b0b8bcac15e361c771d09a7af76199aeb3 100644 (file)
@@ -143,7 +143,7 @@ __PACKAGE__->register_method({
            PVE::LXC::update_lxc_config($storage_cfg, $vmid, $conf);
        };
 
-       PVE::LXC::lock_container($vmid, undef, $code);
+       PVE::LXC::lock_config($vmid, $code);
 
        return undef;
     }});