From b0ba68526854497335cc3087ae9d49340dee1d43 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Thu, 19 Mar 2015 17:25:56 +0100 Subject: [PATCH] Fix common misspellings Wikipedia's list of common misspellings [1] has a machine-readable version. This patch fixes those misspellings mentioned in the list which don't have multiple right variants (as e.g. "accension", which can be both "accession" and "ascension"), such misspellings are left untouched. The list of changes was manually re-checked for false positives. [1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines Change-Id: I9029d207b9e8f356fe71c3f20a74011c4d143bb5 Signed-off-by: Martin Kletzander --- ceilometer/tests/storage/test_storage_scenarios.py | 4 ++-- doc/source/install/mod_wsgi.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ceilometer/tests/storage/test_storage_scenarios.py b/ceilometer/tests/storage/test_storage_scenarios.py index f239f9d5b..85144baee 100644 --- a/ceilometer/tests/storage/test_storage_scenarios.py +++ b/ceilometer/tests/storage/test_storage_scenarios.py @@ -2757,7 +2757,7 @@ class AlarmTestBase(DBTestBase): statistic='avg', evaluation_periods=1, period=60, - meter_name='test.fourty', + meter_name='test.forty', query=[{'field': 'key2', 'op': 'eq', 'value': 'value2', @@ -2845,7 +2845,7 @@ class AlarmTest(AlarmTestBase, self.assertEqual(3, len(alarms)) meter_names = sorted([a.rule['meter_name'] for a in alarms]) - self.assertEqual(['test.five', 'test.fourty', 'test.one'], meter_names) + self.assertEqual(['test.five', 'test.forty', 'test.one'], meter_names) def test_update(self): self.add_some_alarms() diff --git a/doc/source/install/mod_wsgi.rst b/doc/source/install/mod_wsgi.rst index 5f24a8bc0..522f8f7d6 100644 --- a/doc/source/install/mod_wsgi.rst +++ b/doc/source/install/mod_wsgi.rst @@ -35,7 +35,7 @@ work with a copy of ceilometer installed via devstack. .. literalinclude:: ../../../etc/apache2/ceilometer -1. Copy or symlink the file to ``/etc/apache2/sites-avilable``. +1. Copy or symlink the file to ``/etc/apache2/sites-available``. 2. Modify the ``VirtualHost`` directive, setting a hostname or IP for the service. The default settings assume that the ceilometer API is