Fix misspellings

Change-Id: I9f414d52e3c169fac85a44c09be3388aec63063b
This commit is contained in:
venkatamahesh 2016-02-04 16:57:51 +05:30
parent aaf0defeb7
commit 999cb1f2de
8 changed files with 12 additions and 11 deletions

View File

@ -69,7 +69,7 @@ class Denominator(object):
def _base(self): def _base(self):
call = ['denominator', '-q', '-n', self.config.name] call = ['denominator', '-q', '-n', self.config.name]
# NOTE: When path to denominator configuration file is ommited, # NOTE: When path to denominator configuration file is ommitted,
# ~/.denominatorconfig file will be used by default. # ~/.denominatorconfig file will be used by default.
if self.config.config_file: if self.config.config_file:
call.extend(['-C', self.config.config_file]) call.extend(['-C', self.config.config_file])

View File

@ -90,7 +90,7 @@ class InfobloxCannotUpdateObject(InfobloxException):
class InfobloxFuncException(InfobloxException): class InfobloxFuncException(InfobloxException):
message = _("Error occured during function's '%(func_name)s' call: " message = _("Error occurred during function's '%(func_name)s' call: "
"ref %(ref)s: %(content)s [code %(code)s]") "ref %(ref)s: %(content)s [code %(code)s]")

View File

@ -2663,7 +2663,7 @@ class Service(service.RPCService, service.Service):
zone_import.message = 'An SOA record is required.' zone_import.message = 'An SOA record is required.'
zone_import.status = 'ERROR' zone_import.status = 'ERROR'
except Exception: except Exception:
zone_import.message = 'An undefined error occured.' zone_import.message = 'An undefined error occurred.'
zone_import.status = 'ERROR' zone_import.status = 'ERROR'
return zone, zone_import return zone, zone_import
@ -2687,7 +2687,7 @@ class Service(service.RPCService, service.Service):
zone_import.status = 'ERROR' zone_import.status = 'ERROR'
zone_import.message = e.message zone_import.message = e.message
except Exception: except Exception:
zone_import.message = 'An undefined error occured.' zone_import.message = 'An undefined error occurred.'
zone_import.status = 'ERROR' zone_import.status = 'ERROR'
self.update_zone_import(context, zone_import) self.update_zone_import(context, zone_import)

View File

@ -220,7 +220,7 @@ def is_uuid(instance):
@draft3_format_checker.checks("floating-ip-id") @draft3_format_checker.checks("floating-ip-id")
@draft4_format_checker.checks("floating-ip-id") @draft4_format_checker.checks("floating-ip-id")
def is_floating_ip_id(instance): def is_floating_ip_id(instance):
# TODO(kiall): Apparantly, this is used in exactly zero places outside the # TODO(kiall): Apparently, this is used in exactly zero places outside the
# tests. Determine if we should remove this code... # tests. Determine if we should remove this code...
if not isinstance(instance, compat.str_types): if not isinstance(instance, compat.str_types):
return True return True

View File

@ -169,7 +169,8 @@ class ApiV1RecordsTest(ApiV1Test):
status_code=400) status_code=400)
def test_create_wildcard_record_after_named(self): def test_create_wildcard_record_after_named(self):
# We want to test that a wildcard record rs doesnt use the previous one # We want to test that a wildcard record rs does not use the
# previous one
# https://bugs.launchpad.net/designate/+bug/1391426 # https://bugs.launchpad.net/designate/+bug/1391426
name = "foo.%s" % self.zone.name name = "foo.%s" % self.zone.name

View File

@ -188,7 +188,7 @@ class PoolManagerServiceNoopTest(PoolManagerTestCase):
self.assertFalse(mock_notify_zone_changed.called) self.assertFalse(mock_notify_zone_changed.called)
self.assertFalse(mock_poll_for_serial_number.called) self.assertFalse(mock_poll_for_serial_number.called)
# Since consensus is not reached this early, we immediatly call # Since consensus is not reached this early, we immediately call
# central's update_status. # central's update_status.
self.assertTrue(mock_update_status.called) self.assertTrue(mock_update_status.called)
@ -212,7 +212,7 @@ class PoolManagerServiceNoopTest(PoolManagerTestCase):
self.admin_context, zone, 'CREATE') self.admin_context, zone, 'CREATE')
self.assertEqual(0, len(create_statuses)) self.assertEqual(0, len(create_statuses))
# Since consensus is not reached this early, we immediatly call # Since consensus is not reached this early, we immediately call
# central's update_status. # central's update_status.
self.assertTrue(mock_update_status.called) self.assertTrue(mock_update_status.called)

View File

@ -26,7 +26,7 @@ Instructions
.. note:: .. note::
If you want to use local sources for development then you should concider If you want to use local sources for development then you should consider
using the contrib/vagrant folder in the using the contrib/vagrant folder in the
`repository <https://git.openstack.org/openstack/designate>`_. `repository <https://git.openstack.org/openstack/designate>`_.

View File

@ -8,8 +8,8 @@ Guide <http://docs.openstack.org/#install-guides>`_.
This section assumes the Identity service runs on the host This section assumes the Identity service runs on the host
``controller``. ``controller``.
Install and configure Basic Enviroment Install and configure Basic Environment
====================================== =======================================
Enable OpenStack repository Enable OpenStack repository
--------------------------- ---------------------------