From a3e7da8c515e3d10217ebc5bf708da13479ab80c Mon Sep 17 00:00:00 2001
From: Joe Gordon <jogo@cloudscaling.com>
Date: Wed, 12 Sep 2012 18:06:34 -0700
Subject: [PATCH] Fix FLAGS.volumes_dir help message

And other nova/volume/iscsi.py typos

Change-Id: I781a07b4f11b6cf336c278a6994bd5575ae1a70a
---
 cinder/volume/iscsi.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cinder/volume/iscsi.py b/cinder/volume/iscsi.py
index 2dfb5f41a..2bdf0dc35 100644
--- a/cinder/volume/iscsi.py
+++ b/cinder/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
 
         if not os.path.exists(FLAGS.volumes_dir):
             os.makedirs(FLAGS.volumes_dir)
@@ -137,7 +137,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)
 
-- 
2.45.2