summaryrefslogtreecommitdiffstats
path: root/debian/patches/Fix-typos-resouce-resource.patch
blob: 7f3ed87c9fabb5af8490f9df174ca611d42d6440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org>
Date: Sun, 3 Jul 2022 16:02:03 +0200
Subject: Fix typos: resouce -> resource

---
 cts/cts-exec.in                      | 2 +-
 lib/pacemaker/pcmk_sched_primitive.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cts/cts-exec.in b/cts/cts-exec.in
index a89eb0e..be19d07 100644
--- a/cts/cts-exec.in
+++ b/cts/cts-exec.in
@@ -431,7 +431,7 @@ class ExecTests(Tests):
 
 
     def build_multi_rsc_tests(self):
-        """ Register complex tests that involve managing multiple resouces of different types """
+        """ Register complex tests that involve managing multiple resources of different types """
 
         common_cmds = self._common_cmds
         # do not use service and systemd at the same time, it is the same resource.
diff --git a/lib/pacemaker/pcmk_sched_primitive.c b/lib/pacemaker/pcmk_sched_primitive.c
index 96acf1c..91adbff 100644
--- a/lib/pacemaker/pcmk_sched_primitive.c
+++ b/lib/pacemaker/pcmk_sched_primitive.c
@@ -1326,7 +1326,7 @@ start_resource(pcmk_resource_t *rsc, pcmk_node_t *node, bool optional)
          * reasons later.
          */
         pe_rsc_trace(rsc,
-                     "Start of multiply active resouce %s "
+                     "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, 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,
-                         "Promotion of multiply active resouce %s "
+                         "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, pcmk_action_pseudo);