Fix spelling mistakes in nova.virt
Change-Id: Ic5ff80af956726b768610290e4fae7dd46549711
This commit is contained in:
parent
c66755f0ed
commit
9402ca64a8
|
@ -159,7 +159,7 @@ def can_resize_fs(image, size, use_cow=False):
|
|||
|
||||
|
||||
def bind(src, target, instance_name):
|
||||
"""Bind device to a filesytem"""
|
||||
"""Bind device to a filesystem"""
|
||||
if src:
|
||||
utils.execute('touch', target, run_as_root=True)
|
||||
utils.execute('mount', '-o', 'bind', src, target,
|
||||
|
|
|
@ -109,7 +109,7 @@ class Mount(object):
|
|||
"""Some implementations need to retry their get_dev."""
|
||||
# NOTE(mikal): This method helps implement retries. The implementation
|
||||
# simply calls _get_dev_retry_helper from their get_dev, and implements
|
||||
# _inner_get_dev with their device acquistion logic. The NBD
|
||||
# _inner_get_dev with their device acquisition logic. The NBD
|
||||
# implementation has an example.
|
||||
start_time = time.time()
|
||||
device = self._inner_get_dev()
|
||||
|
|
|
@ -91,7 +91,7 @@ class VFS(object):
|
|||
|
||||
"""
|
||||
Replace the entire contents of the file identified
|
||||
by @path, wth @content, creating the file if it does
|
||||
by @path, with @content, creating the file if it does
|
||||
not already exist
|
||||
"""
|
||||
def replace_file(self, path, content):
|
||||
|
|
|
@ -53,7 +53,7 @@ class FirewallDriver(object):
|
|||
""" Firewall Driver base class.
|
||||
|
||||
Defines methods that any driver providing security groups
|
||||
and provider fireall functionality should implement.
|
||||
and provider firewall functionality should implement.
|
||||
"""
|
||||
def __init__(self, virtapi):
|
||||
self._virtapi = virtapi
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# under the License.
|
||||
|
||||
|
||||
"""Network-releated utilities for supporting libvirt connection code."""
|
||||
"""Network-related utilities for supporting libvirt connection code."""
|
||||
|
||||
|
||||
import netaddr
|
||||
|
|
Loading…
Reference in New Issue