Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP6:GA
pacemaker
pacemaker#3417-0001-Log-scheduler-deprecate-Nag...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker#3417-0001-Log-scheduler-deprecate-Nagios-and-Upstart-resources.patch of Package pacemaker
From b071f6100a54d0dbb77b28e1bbcd8d6ebaf5daa5 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Wed, 10 Apr 2024 13:31:37 +0200 Subject: [PATCH] Log: scheduler: deprecate Nagios and Upstart resources even if built with --enable-compat-2.0 Being built to be compatible with 2.0 series doesn't change the fact that the resource classes Nagios and Upstart are deprecated and will be removed in a future release. Users probably better get notified anyways. --- lib/pengine/complex.c | 4 ---- 1 file changed, 4 deletions(-) Index: pacemaker-2.1.7+20231219.0f7f88312/lib/pengine/complex.c =================================================================== --- pacemaker-2.1.7+20231219.0f7f88312.orig/lib/pengine/complex.c +++ pacemaker-2.1.7+20231219.0f7f88312/lib/pengine/complex.c @@ -574,7 +574,6 @@ unpack_requires(pcmk_resource_t *rsc, co (is_default? " (default)" : "")); } -#ifndef PCMK__COMPAT_2_0 static void warn_about_deprecated_classes(pcmk_resource_t *rsc) { @@ -593,7 +592,6 @@ warn_about_deprecated_classes(pcmk_resou rsc->id); } } -#endif /*! * \internal @@ -698,9 +696,7 @@ pe__unpack_resource(xmlNode *xml_obj, pc (*rsc)->id = strdup(id); } -#ifndef PCMK__COMPAT_2_0 warn_about_deprecated_classes(*rsc); -#endif (*rsc)->fns = &resource_class_functions[(*rsc)->variant];
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