Fix spelling mistakes in nova.virt

Change-Id: Ic5ff80af956726b768610290e4fae7dd46549711
This commit is contained in:
Joe Gordon 2013-01-02 14:21:57 -08:00
parent c66755f0ed
commit 9402ca64a8
5 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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()

View File

@ -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):

View File

@ -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

View File

@ -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