[pve-devel] [PATCH ha-manager] remove additional fence_delay uses

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Apr 29 17:01:01 CEST 2016


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

doh, sorry send the wrong patch previously :(

 src/PVE/HA/Manager.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm
index 54e99b5..627036b 100644
--- a/src/PVE/HA/Manager.pm
+++ b/src/PVE/HA/Manager.pm
@@ -452,7 +452,7 @@ sub next_state_request_stop {
 	}
     }
 
-    if ($ns->node_is_offline_delayed($sd->{node}, $fence_delay)) {
+    if ($ns->node_is_offline_delayed($sd->{node})) {
 	&$change_service_state($self, $sid, 'fence');
 	return;
     }
@@ -482,7 +482,7 @@ sub next_state_migrate_relocate {
 	}
     }
 
-    if ($ns->node_is_offline_delayed($sd->{node}, $fence_delay)) {
+    if ($ns->node_is_offline_delayed($sd->{node})) {
 	&$change_service_state($self, $sid, 'fence');
 	return;
     }
-- 
2.1.4





More information about the pve-devel mailing list