Skip to content

Commit 6dfafec

Browse files
committedJan 4, 2016
Fix typo: doesnt -> doesn't
Signed-off-by: Ferenc Wágner <[email protected]>
1 parent 8c5cb43 commit 6dfafec

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed
 

‎cib/common.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output)
160160
static int
161161
cib_cleanup_sync(int options, xmlNode ** data, xmlNode ** output)
162162
{
163-
/* data is non-NULL but doesnt need to be free'd */
163+
/* data is non-NULL but doesn't need to be free'd */
164164
CRM_LOG_ASSERT(*data == NULL);
165165
CRM_LOG_ASSERT(*output == NULL);
166166
return pcmk_ok;

‎cts/CTStests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ def __call__(self, node):
14461446
if r.rclass == "stonith":
14471447
self.okerrpatterns.append(self.templates["Pat:Fencing_recover"] % r.id)
14481448

1449-
# supply a copy so self.patterns doesnt end up empty
1449+
# supply a copy so self.patterns doesn't end up empty
14501450
tmpPats = []
14511451
tmpPats.extend(self.patterns)
14521452
self.patterns.extend(chosen.badnews_ignore)

‎extra/showscores.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fi
3434
tmpfile=/tmp/dkshowscorestmpfiledk
3535
tmpfile2=/tmp/dkshowscorestmpfile2dk
3636

37-
#doesnt work in ais clusters
37+
#doesn't work in ais clusters
3838
if ! ps -ef|grep -q -w aisexec; then
3939
if [ `crmadmin -D | cut -d' ' -f4` != `uname -n|tr "[:upper:]" "[:lower:]"` ]
4040
then echo "Warning: Script is not running on DC. This will be slow."
@@ -83,7 +83,7 @@ get_stickiness() {
8383
# get meta attribute resource_failure_stickiness
8484
if ! migrationthreshold=`crm_resource -g migration-threshold -r $res --meta -Q 2>/dev/null`
8585
then
86-
# if that doesnt exist, use the default value
86+
# if that doesn't exist, use the default value
8787
migrationthreshold="$default_migrationthreshold"
8888
fi
8989
}

‎include/crm/common/xml.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ xmlDoc *getDocPtr(xmlNode * node);
6464

6565
/*
6666
* Replacement function for xmlCopyPropList which at the very least,
67-
* doesnt work the way *I* would expect it to.
67+
* doesn't work the way *I* would expect it to.
6868
*
6969
* Copy all the attributes/properties from src into target.
7070
*

‎lib/pengine/native.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ native_add_running(resource_t * rsc, node_t * node, pe_working_set_t * data_set)
7676
GHashTableIter gIter;
7777
node_t *local_node = NULL;
7878

79-
/* make sure it doesnt come up again */
79+
/* make sure it doesn't come up again */
8080
g_hash_table_destroy(rsc->allowed_nodes);
8181
rsc->allowed_nodes = node_hash_from_list(data_set->nodes);
8282
g_hash_table_iter_init(&gIter, rsc->allowed_nodes);

‎lib/pengine/unpack.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2657,7 +2657,7 @@ unpack_rsc_op_failure(resource_t *rsc, node_t *node, int rc, xmlNode *xml_op, en
26572657
}
26582658
}
26592659
crm_warn("Making sure %s doesn't come up again", fail_rsc->id);
2660-
/* make sure it doesnt come up again */
2660+
/* make sure it doesn't come up again */
26612661
g_hash_table_destroy(fail_rsc->allowed_nodes);
26622662
fail_rsc->allowed_nodes = node_hash_from_list(data_set->nodes);
26632663
g_hash_table_foreach(fail_rsc->allowed_nodes, set_node_score, &score);

‎lib/pengine/utils.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ custom_action(resource_t * rsc, char *key, const char *task,
512512
action->uuid, action->node->details->uname);
513513

514514
} else if (action->needs == rsc_req_nothing) {
515-
pe_rsc_trace(rsc, "Action %s doesnt require anything", action->uuid);
515+
pe_rsc_trace(rsc, "Action %s does not require anything", action->uuid);
516516
pe_set_action_bit(action, pe_action_runnable);
517517
#if 0
518518
/*
@@ -1353,7 +1353,7 @@ sort_op_by_callid(gconstpointer a, gconstpointer b)
13531353
crm_element_value_const_int(xml_b, XML_LRM_ATTR_CALLID, &b_call_id);
13541354

13551355
if (a_call_id == -1 && b_call_id == -1) {
1356-
/* both are pending ops so it doesnt matter since
1356+
/* both are pending ops so it doesn't matter since
13571357
* stops are never pending
13581358
*/
13591359
sort_return(0, "pending");
@@ -1413,7 +1413,7 @@ sort_op_by_callid(gconstpointer a, gconstpointer b)
14131413
/*
14141414
* some of the logic in here may be redundant...
14151415
*
1416-
* if the UUID from the TE doesnt match then one better
1416+
* if the UUID from the TE doesn't match then one better
14171417
* be a pending operation.
14181418
* pending operations dont survive between elections and joins
14191419
* because we query the LRM directly

‎pengine/native.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ native_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set)
468468
print_resource(LOG_DEBUG_2, "Allocating: ", rsc, FALSE);
469469
if (rsc->next_role == RSC_ROLE_STOPPED) {
470470
pe_rsc_trace(rsc, "Making sure %s doesn't get allocated", rsc->id);
471-
/* make sure it doesnt come up again */
471+
/* make sure it doesn't come up again */
472472
resource_location(rsc, NULL, -INFINITY, XML_RSC_ATTR_TARGET_ROLE, data_set);
473473

474474
} else if(rsc->next_role > rsc->role

0 commit comments

Comments
 (0)
Please sign in to comment.