]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
refactor: vm_mon_cmd is now Monitor::mon_cmd
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 19 Nov 2019 11:23:51 +0000 (12:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Nov 2019 17:25:49 +0000 (18:25 +0100)
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/Service/pvestatd.pm

index 7243702f11641fa347f849972672b5bf52a60a53..92d9480971013209282e247666c589b50073c258 100755 (executable)
@@ -18,6 +18,7 @@ use PVE::Network;
 use PVE::Cluster qw(cfs_read_file);
 use PVE::Storage;
 use PVE::QemuServer;
+use PVE::QemuServer::Monitor;
 use PVE::LXC;
 use PVE::LXC::Config;
 use PVE::RPCEnvironment;
@@ -154,7 +155,7 @@ sub auto_balloning {
        next if $target == $current; # no need to change
 
        $log->("BALLOON $vmid to $target (%d)\n", $target - $current);
-       eval { PVE::QemuServer::vm_mon_cmd($vmid, "balloon", value => $target) };
+       eval { PVE::QemuServer::Monitor::mon_cmd($vmid, "balloon", value => $target) };
        warn $@ if $@;
     }
 }