summaryrefslogtreecommitdiff
path: root/packaging/common
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobrelia@mirantis.com>2015-10-16 12:59:37 +0200
committerBogdan Dobrelya <bdobrelia@mirantis.com>2015-10-16 13:00:41 +0200
commitfb87a25bf8a632a86f81e1b30163a8596148e628 (patch)
tree02f07101ffe1b60625016930d949ed363d7efaae /packaging/common
parent98fc9f7e29eb57d1e0765420301db9d321657684 (diff)
downloadrabbitmq-server-git-fb87a25bf8a632a86f81e1b30163a8596148e628.tar.gz
Sync lost change from Fuel HA rabbitmq OCF fixes
Fix missed change for the return value from the fix: 5097d94 - Bogdan Dobrelya, 3 months ago : Fix error return codes for rabbit OCF Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Diffstat (limited to 'packaging/common')
-rwxr-xr-xpackaging/common/rabbitmq-server-ha.ocf2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-server-ha.ocf b/packaging/common/rabbitmq-server-ha.ocf
index f9143ec925..5ccda7b745 100755
--- a/packaging/common/rabbitmq-server-ha.ocf
+++ b/packaging/common/rabbitmq-server-ha.ocf
@@ -1548,7 +1548,7 @@ action_notify() {
ocf_log info "${LH} post-promote end."
if [ $rc -eq $OCF_ERR_GENERIC ] ; then
ocf_log err "${LH} Failed to join the cluster on post-promote. The resource will be restarted."
- return $OCF_NOT_RUNNING
+ return $OCF_ERR_GENERIC
fi
;;
start)