Signed-off-by: Stefan Reiter <[email protected]>
---
src/PVE/HA/Resources/PVEVM.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/HA/Resources/PVEVM.pm b/src/PVE/HA/Resources/PVEVM.pm
index 0a37cf6..3a4c07a 100644
--- a/src/PVE/HA/Resources/PVEVM.pm
+++ b/src/PVE/HA/Resources/PVEVM.pm
@@ -123,7 +123,7 @@ sub check_running {
my $nodename = $haenv->nodename();
- if (PVE::QemuServer::check_running($vmid, 1, $nodename)) {
+ if (PVE::QemuConfig::check_running($vmid, 1, $nodename)) {
# do not count VMs which are suspended for a backup job as running
my $conf = PVE::QemuConfig->load_config($vmid, $nodename);
if (defined($conf->{lock}) && $conf->{lock} eq 'backup') {
--
2.20.1
_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel