Merge "Fix a few typos"

This commit is contained in:
Jenkins 2017-07-05 16:01:14 +00:00 committed by Gerrit Code Review
commit 3a1fe3e506
4 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ class JournalCleanup(object):
:param completed_rows_retention: Time (in seconds) to keep rows
marked as COMPLETED in the database.
:param processing_timeout: Time (in seconds) to wait before a
row maked as PROCESSING is set back to PENDING.
row marked as PROCESSING is set back to PENDING.
"""
self._completed_rows_retention = completed_rows_retention
self._processing_timeout = processing_timeout

View File

@ -88,7 +88,7 @@ class JournalThread(object):
def validate_dependencies(self, session, entry):
"""Validate resource dependency in journaled operations.
:returns: Boolean value. True if validation suceed, False
:returns: Boolean value. True if validation succeed, False
otherwise.
"""

View File

@ -179,7 +179,7 @@ class SetLSwitchPortCommand(command.BaseCommand):
msg = _("Logical Switch Port %s does not exist") % self.lport
raise RuntimeError(msg)
# Delete DHCP_Options records no longer refered by this port.
# Delete DHCP_Options records no longer referred by this port.
# The table rows should be consistent for the same transaction.
# After we get DHCP_Options rows uuids from port dhcpv4_options
# and dhcpv6_options references, the rows shouldn't disappear for
@ -233,7 +233,7 @@ class DelLSwitchPortCommand(command.BaseCommand):
msg = _("Port %s does not exist") % self.lport
raise RuntimeError(msg)
# Delete DHCP_Options records no longer refered by this port.
# Delete DHCP_Options records no longer referred by this port.
cur_port_dhcp_opts = get_lsp_dhcp_options_uuids(
lport, self.lport)
for uuid in cur_port_dhcp_opts:

View File

@ -678,7 +678,7 @@ class TestNBImplIdlOvn(TestDBImplIdlOvn):
self.assertEqual(len(dhcp_options['ports_v4']), 2)
def test_compose_dhcp_options_commands(self):
# TODO(azbiswas): Implement in seperate patch
# TODO(azbiswas): Implement in separate patch
pass
def test_get_address_sets(self):