Merge "spelling error"

This commit is contained in:
Zuul 2018-12-11 12:39:59 +00:00 committed by Gerrit Code Review
commit a04ab051e7
3 changed files with 5 additions and 5 deletions

View File

@ -120,7 +120,7 @@ class AddHandler(CNIHandlerBase):
Determines if CNI is ready to call the callback and stop watching for
more events. For AddHandler the callback should be called if there
is at least one VIF in the annotation and all the
VIFs recieved are marked active
VIFs received are marked active
:param pod: dict containing Kubernetes Pod object
:param vifs: dict containing os_vif VIF objects and ifnames

View File

@ -32,9 +32,9 @@ RETRY_DELAY = 1000 # 1 second in milliseconds
# TODO(dulek): Another corner case is (and was) when pod is deleted before it's
# annotated by controller or even noticed by any watcher. Kubelet
# will try to delete such vif, but we will have no data about it.
# This is currently worked around by returning succesfully in case
# of timing out in delete. To solve this properly we need to watch
# for pod deletes as well.
# This is currently worked around by returning successfully in
# case of timing out in delete. To solve this properly we need
# to watch for pod deletes as well.
class K8sCNIRegistryPlugin(base_cni.CNIPlugin):

View File

@ -100,7 +100,7 @@ class SriovVIFDriver(neutron_vif.NeutronPodVIFDriver):
return total_amount
def _reduce_remaining_sriov_vfs(self, pod):
"""Reduces number of avaliable vfs for request"""
"""Reduces number of available vfs for request"""
containers = pod['spec']['containers']
for container in containers:
try: