summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvishai Ish-Shalom <avishai.ish-shalom@mail.huji.ac.il>2012-10-10 18:27:28 +0200
committerAvishai Ish-Shalom <avishai.ish-shalom@mail.huji.ac.il>2012-10-10 18:27:28 +0200
commite59ce224c45191a0ecceb113c9e5b8e6d9dcdab1 (patch)
tree0ee69768b4a1ba590893b88fc8e3b8b7c964198c
parent4a3eab9f5a49f8ebdf30b8378fa58c342b3d9c8a (diff)
downloadvyos-cloud-init-e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1.tar.gz
vyos-cloud-init-e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1.zip
Fixed typo on dict value reference
LP: #1065116
-rw-r--r--cloudinit/user_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/user_data.py b/cloudinit/user_data.py
index 803ffc3a..58827e3d 100644
--- a/cloudinit/user_data.py
+++ b/cloudinit/user_data.py
@@ -224,7 +224,7 @@ class UserDataProcessor(object):
for header in list(ent.keys()):
if header in ('content', 'filename', 'type', 'launch-index'):
continue
- msg.add_header(header, ent['header'])
+ msg.add_header(header, ent[header])
self._attach_part(append_msg, msg)