Skip to content

Commit 0f1a4ab

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "Fix typos on three comments and one message"
2 parents 075535d + 33c9a67 commit 0f1a4ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ function get_instance_ip {
410410
ip=$(echo "$nova_result" | grep "$network_name" | get_field 2)
411411
if [[ $ip = "" ]];then
412412
echo "$nova_result"
413-
die $LINENO "[Fail] Coudn't get ipaddress of VM"
413+
die $LINENO "[Fail] Couldn't get ipaddress of VM"
414414
fi
415415
echo $ip
416416
}

functions-common

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ function _parse_package_files {
10361036
# We are using BASH regexp matching feature.
10371037
package=${BASH_REMATCH[1]}
10381038
distros=${BASH_REMATCH[2]}
1039-
# In bash ${VAR,,} will lowecase VAR
1039+
# In bash ${VAR,,} will lowercase VAR
10401040
# Look for a match in the distro list
10411041
if [[ ! ${distros,,} =~ ${DISTRO,,} ]]; then
10421042
# If no match then skip this package
@@ -1507,7 +1507,7 @@ function stop_process {
15071507
# this fixed in all services:
15081508
# https://bugs.launchpad.net/oslo-incubator/+bug/1446583
15091509
sleep 1
1510-
# /bin/true becakse pkill on a non existant process returns an error
1510+
# /bin/true because pkill on a non existent process returns an error
15111511
pkill -g $(cat $SERVICE_DIR/$SCREEN_NAME/$service.pid) || /bin/true
15121512
fi
15131513
rm $SERVICE_DIR/$SCREEN_NAME/$service.pid
@@ -1715,7 +1715,7 @@ function plugin_override_defaults {
17151715
if [[ -f $dir/devstack/override-defaults ]]; then
17161716
# be really verbose that an override is happening, as it
17171717
# may not be obvious if things fail later.
1718-
echo "$plugin has overriden the following defaults"
1718+
echo "$plugin has overridden the following defaults"
17191719
cat $dir/devstack/override-defaults
17201720
source $dir/devstack/override-defaults
17211721
fi

0 commit comments

Comments
 (0)