summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2014-01-16 16:32:57 -0700
committerBen Howard <ben.howard@canonical.com>2014-01-16 16:32:57 -0700
commitb94c9790e055960fccf3b159d86db85ef37fb34f (patch)
treeb3b74c5a7e487bfe39f9abaed7971e8e3508da0a /cloudinit/sources
parent8209b21fc29c7d8585b8925a4deb929639797f9b (diff)
downloadvyos-cloud-init-b94c9790e055960fccf3b159d86db85ef37fb34f.tar.gz
vyos-cloud-init-b94c9790e055960fccf3b159d86db85ef37fb34f.zip
Fixed typos
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py2
-rw-r--r--cloudinit/sources/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py
index ccfee931..6593ce6e 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -155,7 +155,7 @@ class DataSourceSmartOS(sources.DataSource):
self.metadata = util.mergemanydict([md, self.metadata])
self.userdata_raw = ud
- self.vendordata_raw = vendordata
+ self.vendordata_raw = md['vendordata']
return True
def device_name_to_device(self, name):
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 7e11c1ca..4b3bf62f 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -82,7 +82,7 @@ class DataSource(object):
return self._filter_xdata(self.userdata)
return self.userdata
- def get_vendordata(self)
+ def get_vendordata(self):
if self.vendordata is None:
self.vendordata = self.ud_proc.process(self.get_vendordata_raw())
return self.vendordata