fix typos in documentation

Change-Id: Id7a2ac9e03d112dc23ee202162577580548dce6b
This commit is contained in:
melissaml 2018-03-28 06:07:25 +08:00
parent 0abede667e
commit f58fbddeb7
2 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ FLAGS = cfg.CONF
class Singleton(type):
"""Singleton metaclass.
KIND must be overriden in classes based on this type.
KIND must be overridden in classes based on this type.
"""
_instances = {}
KIND = ""
@ -53,7 +53,7 @@ class Singleton(type):
class NetSingleton(Singleton):
"""Proxy loader for net depended API.
NEUTRON_API_MODULE and NOVA_API_MODULE must be overriden in classes
NEUTRON_API_MODULE and NOVA_API_MODULE must be overridden in classes
based on this type.
"""
@ -97,14 +97,14 @@ class API(object):
self._callbacks = []
def _get_type(self):
"""GCE API object type method. Should be overriden."""
"""GCE API object type method. Should be overridden."""
raise NotImplementedError
def _get_persistent_attributes(self):
"""Iterable of name of columns stored in GCE API database.
Should be overriden.
Should be overridden.
"""
raise NotImplementedError

View File

@ -75,7 +75,7 @@ class Controller(object):
return None, 204
return self._format_output(request, action, action_result), 200
# Base methods, should be overriden
# Base methods, should be overridden
def format_item(self, request, image, scope):
"""Main item resource conversion routine