]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typo in LIO terminate_connection error msg
authorEric Harney <eharney@redhat.com>
Thu, 15 Oct 2015 14:16:45 +0000 (10:16 -0400)
committerEric Harney <eharney@redhat.com>
Thu, 15 Oct 2015 14:24:18 +0000 (10:24 -0400)
"to target" -> "from target"

Change-Id: Ic80b2b2c15670d1cad2eb6ccadc722194b44ecd8

cinder/volume/targets/lio.py

index 05346af69bdb0ea5a252138559cbd8ea611191e0..d58c1443772294caf87c1fdb209e45876e033661 100644 (file)
@@ -181,8 +181,9 @@ class LioAdm(iscsi.ISCSITarget):
                           connector['initiator'],
                           run_as_root=True)
         except putils.ProcessExecutionError:
-            LOG.exception(_LE("Failed to delete initiator iqn %s to target."),
-                          connector['initiator'])
+            LOG.exception(
+                _LE("Failed to delete initiator iqn %s from target."),
+                connector['initiator'])
             raise exception.ISCSITargetDetachFailed(volume_id=volume['id'])
 
         # We make changes persistent