resource-agents/SOURCES/bz1817598-ocf_is_clone-2-up...

25 lines
879 B
Diff

From 420e55da2eb542b35fe8af5d05496b129cd190d5 Mon Sep 17 00:00:00 2001
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
Date: Fri, 27 Mar 2020 08:44:12 +0100
Subject: [PATCH] ocf-shellfuncs: ocf_is_clone: update comment based on
clone-max fix in previous commit
---
heartbeat/ocf-shellfuncs.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in
index e0eaae1d5..c4d40e382 100644
--- a/heartbeat/ocf-shellfuncs.in
+++ b/heartbeat/ocf-shellfuncs.in
@@ -554,8 +554,7 @@ ocf_is_probe() {
}
# returns true if the resource is configured as a clone. This is
-# defined as a resource where the clone-max meta attribute is present,
-# and set to greater than zero.
+# defined as a resource where the clone-max meta attribute is present.
ocf_is_clone() {
[ ! -z "${OCF_RESKEY_CRM_meta_clone_max}" ]
}