summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index a0f0ff27e..703533f55 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -106,7 +106,7 @@ class API(base.Base):
def _check_injected_file_format(self, injected_files):
"""Ensure given injected files are in the correct format."""
- for _, content in injected_files:
+ for file_path, content in injected_files:
try:
base64.b64decode(content)
except TypeError: