Update pacemaker-colocated-utilization.patch to fix build
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=131
This commit is contained in:
parent
3b1daef8d4
commit
f1a03b21e8
@ -84,8 +84,12 @@ Index: pacemaker/pengine/native.c
|
||||
gboolean is_enough;
|
||||
};
|
||||
|
||||
@@ -95,27 +95,119 @@ check_capacity(gpointer key, gpointer va
|
||||
CRM_ASSERT(data->rsc);
|
||||
@@ -95,30 +95,122 @@ check_capacity(gpointer key, gpointer va
|
||||
remaining = crm_parse_int(g_hash_table_lookup(data->node->details->utilization, key), "0");
|
||||
|
||||
if (required > remaining) {
|
||||
- CRM_ASSERT(data->rsc);
|
||||
+ CRM_ASSERT(data->rsc_id);
|
||||
CRM_ASSERT(data->node);
|
||||
|
||||
- pe_rsc_debug(data->rsc,
|
||||
|
Loading…
Reference in New Issue
Block a user