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 <mkletzan@redhat.com>
This commit is contained in:
parent
7e5a6711ce
commit
b0ba685268
@ -2757,7 +2757,7 @@ class AlarmTestBase(DBTestBase):
|
|||||||
statistic='avg',
|
statistic='avg',
|
||||||
evaluation_periods=1,
|
evaluation_periods=1,
|
||||||
period=60,
|
period=60,
|
||||||
meter_name='test.fourty',
|
meter_name='test.forty',
|
||||||
query=[{'field': 'key2',
|
query=[{'field': 'key2',
|
||||||
'op': 'eq',
|
'op': 'eq',
|
||||||
'value': 'value2',
|
'value': 'value2',
|
||||||
@ -2845,7 +2845,7 @@ class AlarmTest(AlarmTestBase,
|
|||||||
self.assertEqual(3, len(alarms))
|
self.assertEqual(3, len(alarms))
|
||||||
|
|
||||||
meter_names = sorted([a.rule['meter_name'] for a in 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):
|
def test_update(self):
|
||||||
self.add_some_alarms()
|
self.add_some_alarms()
|
||||||
|
@ -35,7 +35,7 @@ work with a copy of ceilometer installed via devstack.
|
|||||||
|
|
||||||
.. literalinclude:: ../../../etc/apache2/ceilometer
|
.. 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
|
2. Modify the ``VirtualHost`` directive, setting a hostname or IP for
|
||||||
the service. The default settings assume that the ceilometer API is
|
the service. The default settings assume that the ceilometer API is
|
||||||
|
Loading…
Reference in New Issue
Block a user