summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-01-04 12:28:55 +0000
committerGerrit Code Review <review@openstack.org>2013-01-04 12:28:55 +0000
commita2fb27e9ba3e15aefe25b2aaacf7d45d379c7779 (patch)
treebc500cf1baa22201a341ffa6dc0c7d9dbf79f63e /nova
parentf7703beb932d589173ca174c1e6f0dcc1ed47c3c (diff)
parent9402ca64a80e471f69d24430692cc11600b3be7b (diff)
downloadnova-a2fb27e9ba3e15aefe25b2aaacf7d45d379c7779.tar.gz
nova-a2fb27e9ba3e15aefe25b2aaacf7d45d379c7779.tar.xz
nova-a2fb27e9ba3e15aefe25b2aaacf7d45d379c7779.zip
Merge "Fix spelling mistakes in nova.virt"
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/disk/api.py2
-rw-r--r--nova/virt/disk/mount/api.py2
-rw-r--r--nova/virt/disk/vfs/api.py2
-rw-r--r--nova/virt/firewall.py2
-rw-r--r--nova/virt/netutils.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/nova/virt/disk/api.py b/nova/virt/disk/api.py
index a93cf261e..9b490cc1a 100644
--- a/nova/virt/disk/api.py
+++ b/nova/virt/disk/api.py
@@ -161,7 +161,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,
diff --git a/nova/virt/disk/mount/api.py b/nova/virt/disk/mount/api.py
index ac396ff80..8d17d66c6 100644
--- a/nova/virt/disk/mount/api.py
+++ b/nova/virt/disk/mount/api.py
@@ -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()
diff --git a/nova/virt/disk/vfs/api.py b/nova/virt/disk/vfs/api.py
index 5a3f748e7..445752d9c 100644
--- a/nova/virt/disk/vfs/api.py
+++ b/nova/virt/disk/vfs/api.py
@@ -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):
diff --git a/nova/virt/firewall.py b/nova/virt/firewall.py
index 8776e59f8..d7a5cbc31 100644
--- a/nova/virt/firewall.py
+++ b/nova/virt/firewall.py
@@ -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
diff --git a/nova/virt/netutils.py b/nova/virt/netutils.py
index 3196271a4..727b7aac6 100644
--- a/nova/virt/netutils.py
+++ b/nova/virt/netutils.py
@@ -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