Skip to content

Commit fe7b56c

Browse files
committed
Fix typos for stack.sh and lib of comments and message
Fix 10 comments and 1 message stack.sh Certicate => Certificate (comment) lib/stack Sentinal => Sentinel (comment) lib/neutron-legacy overriden => overridden (comment) necesssary => necessary (comment) notifiy => notify (message) notifations => notifications (comment) lib/rpc_backend orginal => original (comment) cofiguration => configuration (comment) lib/stack confgured => configured (comment) lib/swift additinal => additional (comment) calclution => calculation (comment) maximun => maximum (comment) Change-Id: I3637388b67decb007cd49af9addecc654009559b
1 parent 4f262a1 commit fe7b56c

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

lib/neutron-legacy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ ENABLE_TENANT_TUNNELS=${ENABLE_TENANT_TUNNELS:-True}
256256

257257
# If using GRE tunnels for tenant networks, specify the range of
258258
# tunnel IDs from which tenant networks are allocated. Can be
259-
# overriden in ``localrc`` in necesssary.
259+
# overridden in ``localrc`` in necessary.
260260
TENANT_TUNNEL_RANGES=${TENANT_TUNNEL_RANGES:-1:1000}
261261

262262
# To use VLANs for tenant networks, set to True in localrc. VLANs
@@ -537,7 +537,7 @@ function create_neutron_initial_network {
537537

538538
if is_provider_network; then
539539
die_if_not_set $LINENO PHYSICAL_NETWORK "You must specify the PHYSICAL_NETWORK"
540-
die_if_not_set $LINENO PROVIDER_NETWORK_TYPE "You must specifiy the PROVIDER_NETWORK_TYPE"
540+
die_if_not_set $LINENO PROVIDER_NETWORK_TYPE "You must specify the PROVIDER_NETWORK_TYPE"
541541
NET_ID=$(neutron net-create $PHYSICAL_NETWORK --tenant_id $TENANT_ID --provider:network_type $PROVIDER_NETWORK_TYPE --provider:physical_network "$PHYSICAL_NETWORK" ${SEGMENTATION_ID:+--provider:segmentation_id $SEGMENTATION_ID} --shared | grep ' id ' | get_field 2)
542542
die_if_not_set $LINENO NET_ID "Failure creating NET_ID for $PHYSICAL_NETWORK $TENANT_ID"
543543

@@ -1123,7 +1123,7 @@ function _configure_neutron_service {
11231123
iniset $NEUTRON_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY
11241124
_neutron_setup_keystone $NEUTRON_CONF keystone_authtoken
11251125

1126-
# Configuration for neutron notifations to nova.
1126+
# Configuration for neutron notifications to nova.
11271127
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES
11281128
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES
11291129

lib/rpc_backend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function restart_rpc_backend {
5858
# NOTE(bnemec): Retry initial rabbitmq configuration to deal with
5959
# the fact that sometimes it fails to start properly.
6060
# Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1144100
61-
# NOTE(tonyb): Extend the orginal retry logic to only restart rabbitmq
61+
# NOTE(tonyb): Extend the original retry logic to only restart rabbitmq
6262
# every second time around the loop.
6363
# See: https://bugs.launchpad.net/devstack/+bug/1449056 for details on
6464
# why this is needed. This can bee seen on vivid and Debian unstable
@@ -106,7 +106,7 @@ function get_transport_url {
106106
fi
107107
}
108108

109-
# iniset cofiguration
109+
# iniset configuration
110110
function iniset_rpc_backend {
111111
local package=$1
112112
local file=$2

lib/stack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Functions
1515
# ---------
1616

17-
# Generic service install handles venv creation if confgured for service
17+
# Generic service install handles venv creation if configured for service
1818
# stack_install_service service
1919
function stack_install_service {
2020
local service=$1

lib/swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ SWIFT_REPLICAS_SEQ=$(seq ${SWIFT_REPLICAS})
123123
# trace through the logs when looking for its use.
124124
SWIFT_LOG_TOKEN_LENGTH=${SWIFT_LOG_TOKEN_LENGTH:-12}
125125

126-
# Set ``SWIFT_MAX_HEADER_SIZE`` to configure the maximun length of headers in
126+
# Set ``SWIFT_MAX_HEADER_SIZE`` to configure the maximum length of headers in
127127
# Swift API
128128
SWIFT_MAX_HEADER_SIZE=${SWIFT_MAX_HEADER_SIZE:-16384}
129129

130130
# Set ``OBJECT_PORT_BASE``, ``CONTAINER_PORT_BASE``, ``ACCOUNT_PORT_BASE``
131-
# Port bases used in port number calclution for the service "nodes"
132-
# The specified port number will be used, the additinal ports calculated by
131+
# Port bases used in port number calculation for the service "nodes"
132+
# The specified port number will be used, the additional ports calculated by
133133
# base_port + node_num * 10
134134
OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6613}
135135
CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6611}

stack.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,8 @@ fi
926926
restart_rpc_backend
927927

928928

929-
# Export Certicate Authority Bundle
930-
# ---------------------------------
929+
# Export Certificate Authority Bundle
930+
# -----------------------------------
931931

932932
# If certificates were used and written to the SSL bundle file then these
933933
# should be exported so clients can validate their connections.

0 commit comments

Comments
 (0)