]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/API2/LXC.pm
Rework snapshot code, has_feature
[pve-container.git] / src / PVE / API2 / LXC.pm
index 5e987926627609f1754d01ef13487864799f8be0..428f2c1e0bdbfcaf9eb675781325a97db6ae9508 100644 (file)
@@ -882,7 +882,7 @@ __PACKAGE__->register_method({
        my $storage_cfg = PVE::Storage::config();
        #Maybe include later
        #my $nodelist = PVE::LXC::shared_nodes($conf, $storage_cfg);
-       my $hasFeature = PVE::LXC::has_feature($feature, $conf, $storage_cfg, $snapname);
+       my $hasFeature = PVE::LXC::Config->has_feature($feature, $conf, $storage_cfg, $snapname);
 
        return {
            hasFeature => $hasFeature,