From d6a5d0f9faa43a82104a0ed936382195b89d4107 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Thu, 6 Sep 2012 09:50:37 -0500 Subject: [PATCH] Fix Typo in LOG.error Fix typo in LOG.error, it should be vol_id rather than volume_id. Fixes bug #1046875 Change-Id: Id162c6f185a110b63e8f9f509f5cde75f3626cbf Signed-off-by: Chuck Short --- cinder/volume/iscsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/iscsi.py b/cinder/volume/iscsi.py index 691314393..57734f602 100644 --- a/cinder/volume/iscsi.py +++ b/cinder/volume/iscsi.py @@ -133,7 +133,7 @@ class TgtAdm(TargetAdmin): run_as_root=True) except exception.ProcessExecutionError, e: LOG.error(_("Failed to create iscsi target for volume " - "id:%(volume_id)s.") % locals()) + "id:%(vol_id)s.") % locals()) #Dont forget to remove the persistent file we created os.unlink(volume_path) -- 2.45.2