summaryrefslogtreecommitdiffstats
path: root/nova/volume
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2012-09-12 16:30:25 -0700
committerJoe Gordon <jogo@cloudscaling.com>2012-09-12 16:30:25 -0700
commita7cfd754d17840cbcd4d9cd10564ca30260e0dac (patch)
treee6d503e239029b1a373a5db3595590012e6689e2 /nova/volume
parentb961bd4c2916559bca856bc8b142d9df7494ef13 (diff)
downloadnova-a7cfd754d17840cbcd4d9cd10564ca30260e0dac.tar.gz
nova-a7cfd754d17840cbcd4d9cd10564ca30260e0dac.tar.xz
nova-a7cfd754d17840cbcd4d9cd10564ca30260e0dac.zip
Fix FLAGS.volumes_dir help message
And other nova/volume/iscsi.py typos Change-Id: I08e7d4379f6a455273df999b621f8a89e73e0aef
Diffstat (limited to 'nova/volume')
-rw-r--r--nova/volume/iscsi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/volume/iscsi.py b/nova/volume/iscsi.py
index 4d18526de..48e088e05 100644
--- a/nova/volume/iscsi.py
+++ b/nova/volume/iscsi.py
@@ -35,7 +35,7 @@ iscsi_helper_opt = [
help='iscsi target user-land tool to use'),
cfg.StrOpt('volumes_dir',
default='$state_path/volumes',
- help='Volume configfuration file storage directory'),
+ help='Volume configuration file storage directory'),
]
FLAGS = flags.FLAGS
@@ -107,7 +107,7 @@ class TgtAdm(TargetAdmin):
def create_iscsi_target(self, name, tid, lun, path, **kwargs):
# Note(jdg) tid and lun aren't used by TgtAdm but remain for
- # compatability
+ # compatibility
utils.ensure_tree(FLAGS.volumes_dir)
@@ -136,7 +136,7 @@ class TgtAdm(TargetAdmin):
LOG.error(_("Failed to create iscsi target for volume "
"id:%(vol_id)s.") % locals())
- #Dont forget to remove the persistent file we created
+ #Don't forget to remove the persistent file we created
os.unlink(volume_path)
raise exception.ISCSITargetCreateFailed(volume_id=vol_id)