From 9402ca64a80e471f69d24430692cc11600b3be7b Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 2 Jan 2013 14:21:57 -0800 Subject: [PATCH] Fix spelling mistakes in nova.virt Change-Id: Ic5ff80af956726b768610290e4fae7dd46549711 --- nova/virt/disk/api.py | 2 +- nova/virt/disk/mount/api.py | 2 +- nova/virt/disk/vfs/api.py | 2 +- nova/virt/firewall.py | 2 +- nova/virt/netutils.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nova/virt/disk/api.py b/nova/virt/disk/api.py index f663515cda8e..15cc0883c465 100644 --- a/nova/virt/disk/api.py +++ b/nova/virt/disk/api.py @@ -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, diff --git a/nova/virt/disk/mount/api.py b/nova/virt/disk/mount/api.py index ac396ff80fd4..8d17d66c64f7 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 5a3f748e744e..445752d9c0ce 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 8776e59f8107..d7a5cbc31380 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 3196271a4e1c..727b7aac6dab 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