summaryrefslogtreecommitdiffstats
path: root/debian/patches/Fix-typos-resouce-resource.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/Fix-typos-resouce-resource.patch')
-rw-r--r--debian/patches/Fix-typos-resouce-resource.patch26
1 files changed, 6 insertions, 20 deletions
diff --git a/debian/patches/Fix-typos-resouce-resource.patch b/debian/patches/Fix-typos-resouce-resource.patch
index d0e85a5..7f3ed87 100644
--- a/debian/patches/Fix-typos-resouce-resource.patch
+++ b/debian/patches/Fix-typos-resouce-resource.patch
@@ -4,9 +4,8 @@ Subject: Fix typos: resouce -> resource
---
cts/cts-exec.in | 2 +-
- cts/lab/CTStests.py | 2 +-
lib/pacemaker/pcmk_sched_primitive.c | 4 ++--
- 3 files changed, 4 insertions(+), 4 deletions(-)
+ 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cts/cts-exec.in b/cts/cts-exec.in
index a89eb0e..be19d07 100644
@@ -21,24 +20,11 @@ index a89eb0e..be19d07 100644
common_cmds = self._common_cmds
# do not use service and systemd at the same time, it is the same resource.
-diff --git a/cts/lab/CTStests.py b/cts/lab/CTStests.py
-index 61766ce..00fe2d9 100644
---- a/cts/lab/CTStests.py
-+++ b/cts/lab/CTStests.py
-@@ -743,7 +743,7 @@ class StandbyTest(CTSTest):
- # set the node to standby mode
- # check resources, none resource should be running on the node
- # set the node to active mode
-- # check resouces, resources should have been migrated back (SHOULD THEY?)
-+ # check resources, resources should have been migrated back (SHOULD THEY?)
-
- def __call__(self, node):
-
diff --git a/lib/pacemaker/pcmk_sched_primitive.c b/lib/pacemaker/pcmk_sched_primitive.c
-index aefbf9a..d612b22 100644
+index 96acf1c..91adbff 100644
--- a/lib/pacemaker/pcmk_sched_primitive.c
+++ b/lib/pacemaker/pcmk_sched_primitive.c
-@@ -1250,7 +1250,7 @@ start_resource(pe_resource_t *rsc, pe_node_t *node, bool optional)
+@@ -1326,7 +1326,7 @@ start_resource(pcmk_resource_t *rsc, pcmk_node_t *node, bool optional)
* reasons later.
*/
pe_rsc_trace(rsc,
@@ -46,8 +32,8 @@ index aefbf9a..d612b22 100644
+ "Start of multiply active resource %s "
"on expected node %s will be a pseudo-action",
rsc->id, pe__node_name(node));
- pe__set_action_flags(start, pe_action_pseudo);
-@@ -1297,7 +1297,7 @@ promote_resource(pe_resource_t *rsc, pe_node_t *node, bool optional)
+ pe__set_action_flags(start, pcmk_action_pseudo);
+@@ -1373,7 +1373,7 @@ promote_resource(pcmk_resource_t *rsc, pcmk_node_t *node, bool optional)
* other reasons later.
*/
pe_rsc_trace(rsc,
@@ -55,4 +41,4 @@ index aefbf9a..d612b22 100644
+ "Promotion of multiply active resource %s "
"on expected node %s will be a pseudo-action",
rsc->id, pe__node_name(node));
- pe__set_action_flags(promote, pe_action_pseudo);
+ pe__set_action_flags(promote, pcmk_action_pseudo);