From 33c9a67ead4b61a9eb423f71ca4f8e062c3b5ebd Mon Sep 17 00:00:00 2001 From: Atsushi SAKAI Date: Thu, 12 Nov 2015 19:50:00 +0900 Subject: [PATCH] Fix typos on three comments and one message Fixes typos on three comments and one message in functions/functions-common Change-Id: I2c926ca29b284afd4534b92860fa46f248676a83 --- functions | 2 +- functions-common | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions b/functions index ca5955e974..34da1ba733 100644 --- a/functions +++ b/functions @@ -410,7 +410,7 @@ function get_instance_ip { ip=$(echo "$nova_result" | grep "$network_name" | get_field 2) if [[ $ip = "" ]];then echo "$nova_result" - die $LINENO "[Fail] Coudn't get ipaddress of VM" + die $LINENO "[Fail] Couldn't get ipaddress of VM" fi echo $ip } diff --git a/functions-common b/functions-common index 5c97aee9a3..98ecfb26ae 100644 --- a/functions-common +++ b/functions-common @@ -1036,7 +1036,7 @@ function _parse_package_files { # We are using BASH regexp matching feature. package=${BASH_REMATCH[1]} distros=${BASH_REMATCH[2]} - # In bash ${VAR,,} will lowecase VAR + # In bash ${VAR,,} will lowercase VAR # Look for a match in the distro list if [[ ! ${distros,,} =~ ${DISTRO,,} ]]; then # If no match then skip this package @@ -1509,7 +1509,7 @@ function stop_process { # this fixed in all services: # https://bugs.launchpad.net/oslo-incubator/+bug/1446583 sleep 1 - # /bin/true becakse pkill on a non existant process returns an error + # /bin/true because pkill on a non existent process returns an error pkill -g $(cat $SERVICE_DIR/$SCREEN_NAME/$service.pid) || /bin/true fi rm $SERVICE_DIR/$SCREEN_NAME/$service.pid @@ -1717,7 +1717,7 @@ function plugin_override_defaults { if [[ -f $dir/devstack/override-defaults ]]; then # be really verbose that an override is happening, as it # may not be obvious if things fail later. - echo "$plugin has overriden the following defaults" + echo "$plugin has overridden the following defaults" cat $dir/devstack/override-defaults source $dir/devstack/override-defaults fi