File pacemaker-pengine-correct-mispelled-constant.patch of Package pacemaker.14737
commit 47a5f6f5cd1fba2c6bac140329e563abd34b2ef4
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Fri Dec 8 16:54:07 2017 -0600
Low: PE: correct mispelled constant
original intention of 2b1aae07
diff --git a/pengine/allocate.c b/pengine/allocate.c
index 1c95e97d8..481a0ec09 100644
--- a/pengine/allocate.c
+++ b/pengine/allocate.c
@@ -1870,7 +1870,7 @@ apply_container_ordering(action_t *action, pe_working_set_t *data_set)
container->id);
if (safe_str_eq(action->task, CRMD_ACTION_MIGRATE)
- || safe_str_eq(action->task, CRMD_ACTION_MIGRATE)) {
+ || safe_str_eq(action->task, CRMD_ACTION_MIGRATED)) {
/* Migration ops map to "no_action", but we need to apply the same
* ordering as for stop or demote (see get_router_node()).
*/
@@ -2036,7 +2036,7 @@ apply_remote_ordering(action_t *action, pe_working_set_t *data_set)
remote_rsc->id, state2text(state));
if (safe_str_eq(action->task, CRMD_ACTION_MIGRATE)
- || safe_str_eq(action->task, CRMD_ACTION_MIGRATE)) {
+ || safe_str_eq(action->task, CRMD_ACTION_MIGRATED)) {
/* Migration ops map to "no_action", but we need to apply the same
* ordering as for stop or demote (see get_router_node()).
*/