Fix the typos in the source code

Scan the source code and filter some results. Fix the typos in
the source code. Will deliver remaining results in other patches.

ceilometer/event/trait_plugins.py
Line 169: s/it's/its

/ceilometer/publisher/kafka_broker.py
Line 58: s/this option is/options are
Line 60: s/with with/with

devstack/plugin.sh
Line 400: s/the the/the

doc/source/install/manual.rst
Line 557: s/seperately/separately
Line 567: s/requirments/requirements

Change-Id: Ia4577724977ec255ad426c7c9647ac26d0280f24
This commit is contained in:
jizilian 2015-12-22 09:15:39 -05:00
parent 95be92eae7
commit c8c6c670ad
4 changed files with 6 additions and 6 deletions

View File

@ -166,7 +166,7 @@ class BitfieldTraitPlugin(TraitPluginBase):
value: set bit if corresponding field's value value: set bit if corresponding field's value
matches this. If value is not provided, matches this. If value is not provided,
bit will be set if the field exists (and bit will be set if the field exists (and
is non-null), regardless of it's value. is non-null), regardless of its value.
""" """
self.initial_bitfield = initial_bitfield self.initial_bitfield = initial_bitfield

View File

@ -55,9 +55,9 @@ class KafkaBrokerPublisher(messaging.MessagingPublisher):
metering data under a topic name, 'ceilometer'. If the port number is not metering data under a topic name, 'ceilometer'. If the port number is not
specified, this Kafka Publisher will use 9092 as the broker's port. specified, this Kafka Publisher will use 9092 as the broker's port.
This publisher has transmit options such as queue, drop, and retry. These This publisher has transmit options such as queue, drop, and retry. These
this option is specified using policy field of URL parameter. When queue options are specified using policy field of URL parameter. When queue
option could be selected, local queue length can be determined using option could be selected, local queue length can be determined using
max_queue_length field as well. When the transfer fails with with retry max_queue_length field as well. When the transfer fails with retry
option, try to resend the data as many times as specified in max_retry option, try to resend the data as many times as specified in max_retry
field. If max_retry is not specified, default the number of retry is 100. field. If max_retry is not specified, default the number of retry is 100.
""" """

View File

@ -397,7 +397,7 @@ function start_ceilometer {
tail_log ceilometer-api /var/log/$APACHE_NAME/ceilometer_access.log tail_log ceilometer-api /var/log/$APACHE_NAME/ceilometer_access.log
fi fi
# run the the collector after restarting apache as it needs # run the collector after restarting apache as it needs
# operational keystone if using gnocchi # operational keystone if using gnocchi
run_process ceilometer-collector "$CEILOMETER_BIN_DIR/ceilometer-collector --config-file $CEILOMETER_CONF" run_process ceilometer-collector "$CEILOMETER_BIN_DIR/ceilometer-collector --config-file $CEILOMETER_CONF"

View File

@ -554,7 +554,7 @@ Ceilometer allows multiple topics to be configured so that polling agent can
send the same messages of notifications to other queues. Notification agents send the same messages of notifications to other queues. Notification agents
also use **notification_topics** to configure which queue to listen for. If also use **notification_topics** to configure which queue to listen for. If
you use multiple topics, you should configure notification agent and polling you use multiple topics, you should configure notification agent and polling
agent seperately, otherwise Ceilometer collects duplicate samples. agent separately, otherwise Ceilometer collects duplicate samples.
By default, the ceilometer.conf file is as follows:: By default, the ceilometer.conf file is as follows::
@ -564,7 +564,7 @@ By default, the ceilometer.conf file is as follows::
To use multiple topics, you should give ceilometer-agent-notification and To use multiple topics, you should give ceilometer-agent-notification and
ceilometer-polling services different ceilometer.conf files. The Ceilometer ceilometer-polling services different ceilometer.conf files. The Ceilometer
configuration file ceilometer.conf is normally locate in the /etc/ceilometer configuration file ceilometer.conf is normally locate in the /etc/ceilometer
directory. Make changes according to your requirments which may look like directory. Make changes according to your requirements which may look like
the following:: the following::
For notification agent using ceilometer-notification.conf, settings like:: For notification agent using ceilometer-notification.conf, settings like::