]> git.proxmox.com Git - pve-ha-manager.git/blobdiff - src/PVE/HA/LRM.pm
env: rename get_ha_settings to get_datacenter_settings
[pve-ha-manager.git] / src / PVE / HA / LRM.pm
index 8cbdb8266aa7fbeafe9e3efe15b0039024514664..7750f4d45cff5cb90827d9e6335ff19f8aa37263 100644 (file)
@@ -59,7 +59,7 @@ sub shutdown_request {
 
     my ($shutdown, $reboot) = $haenv->is_node_shutdown();
 
-    my $dc_ha_cfg = $haenv->get_ha_settings();
+    my $dc_ha_cfg = $haenv->get_datacenter_settings();
     my $shutdown_policy = $dc_ha_cfg->{shutdown_policy} // 'conditional';
 
     if ($shutdown) { # don't log this on service restart, only on node shutdown