Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
resource-agents.26252
0001-fix-problem-with-unset-OCF_RESKEY_CRM_meta...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fix-problem-with-unset-OCF_RESKEY_CRM_meta_interval-.patch of Package resource-agents.26252
From 44bf2b4ead260c586b573af09ab54d100e0ae605 Mon Sep 17 00:00:00 2001 From: Fabian Herschel <fabian.herschel@suse.com> Date: Tue, 17 Nov 2020 14:41:19 +0100 Subject: [PATCH 1/1] fix problem with unset OCF_RESKEY_CRM_meta_interval by cluster framework --- heartbeat/ocf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heartbeat/ocf.py b/heartbeat/ocf.py index 5282a205..6dbc10d6 100644 --- a/heartbeat/ocf.py +++ b/heartbeat/ocf.py @@ -195,7 +195,8 @@ def is_probe(): not running resource. """ return (OCF_ACTION == "monitor" and - env.get("OCF_RESKEY_CRM_meta_interval", "") == "0") + ( env.get("OCF_RESKEY_CRM_meta_interval", "") == "0" or + env.get("OCF_RESKEY_CRM_meta_interval", "") == "" )) def get_parameter(name, default=None): -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor