Fixes typos on three comments and one message
in functions/functions-common
Change-Id: I2c926ca29b284afd4534b92860fa46f248676a83
| ... | ... |
@@ -410,7 +410,7 @@ function get_instance_ip {
|
| 410 | 410 |
ip=$(echo "$nova_result" | grep "$network_name" | get_field 2) |
| 411 | 411 |
if [[ $ip = "" ]];then |
| 412 | 412 |
echo "$nova_result" |
| 413 |
- die $LINENO "[Fail] Coudn't get ipaddress of VM" |
|
| 413 |
+ die $LINENO "[Fail] Couldn't get ipaddress of VM" |
|
| 414 | 414 |
fi |
| 415 | 415 |
echo $ip |
| 416 | 416 |
} |
| ... | ... |
@@ -1036,7 +1036,7 @@ function _parse_package_files {
|
| 1036 | 1036 |
# We are using BASH regexp matching feature. |
| 1037 | 1037 |
package=${BASH_REMATCH[1]}
|
| 1038 | 1038 |
distros=${BASH_REMATCH[2]}
|
| 1039 |
- # In bash ${VAR,,} will lowecase VAR
|
|
| 1039 |
+ # In bash ${VAR,,} will lowercase VAR
|
|
| 1040 | 1040 |
# Look for a match in the distro list |
| 1041 | 1041 |
if [[ ! ${distros,,} =~ ${DISTRO,,} ]]; then
|
| 1042 | 1042 |
# If no match then skip this package |
| ... | ... |
@@ -1509,7 +1509,7 @@ function stop_process {
|
| 1509 | 1509 |
# this fixed in all services: |
| 1510 | 1510 |
# https://bugs.launchpad.net/oslo-incubator/+bug/1446583 |
| 1511 | 1511 |
sleep 1 |
| 1512 |
- # /bin/true becakse pkill on a non existant process returns an error |
|
| 1512 |
+ # /bin/true because pkill on a non existent process returns an error |
|
| 1513 | 1513 |
pkill -g $(cat $SERVICE_DIR/$SCREEN_NAME/$service.pid) || /bin/true |
| 1514 | 1514 |
fi |
| 1515 | 1515 |
rm $SERVICE_DIR/$SCREEN_NAME/$service.pid |
| ... | ... |
@@ -1717,7 +1717,7 @@ function plugin_override_defaults {
|
| 1717 | 1717 |
if [[ -f $dir/devstack/override-defaults ]]; then |
| 1718 | 1718 |
# be really verbose that an override is happening, as it |
| 1719 | 1719 |
# may not be obvious if things fail later. |
| 1720 |
- echo "$plugin has overriden the following defaults" |
|
| 1720 |
+ echo "$plugin has overridden the following defaults" |
|
| 1721 | 1721 |
cat $dir/devstack/override-defaults |
| 1722 | 1722 |
source $dir/devstack/override-defaults |
| 1723 | 1723 |
fi |