summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Lebedeff <alebedev@mirantis.com>2016-08-26 14:39:17 +0300
committerAlexey Lebedeff <alebedev@mirantis.com>2016-08-26 14:39:17 +0300
commit94769bad87fcf54c71a980920ba192676a496b2e (patch)
tree53924bf82cc8ead2ab7b70d55b7ab58df2f8975f /scripts
parent2ac267a2351ec90ffa5014762ed2fef0caed7a00 (diff)
downloadrabbitmq-server-git-94769bad87fcf54c71a980920ba192676a496b2e.tar.gz
Allow node_health_check retries in OCF HA script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rabbitmq-server-ha.ocf2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rabbitmq-server-ha.ocf b/scripts/rabbitmq-server-ha.ocf
index 2c01f7142e..c74525c936 100755
--- a/scripts/rabbitmq-server-ha.ocf
+++ b/scripts/rabbitmq-server-ha.ocf
@@ -1642,7 +1642,7 @@ node_health_check_local() {
return $OCF_ERR_GENERIC
elif [ "$rc_timeouts" -eq 1 ]; then
ocf_log info "${LH} node_health_check timed out, going to retry"
- return $OCF_ERR_GENERIC
+ return $OCF_SUCCESS
fi
if [ "$rc" -ne 0 ]; then