summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-27 15:31:52 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-27 15:31:52 -0400
commit75109ffd12ad4dcbbccf1b0603506efcae413433 (patch)
treec8a8e307e5a9a32ca6726ad255f1278b02e0ebda /cloudinit/sources/DataSourceSmartOS.py
parentf5be39ff385b5c1e15f536e3f05415c4b95ff1f3 (diff)
downloadvyos-cloud-init-75109ffd12ad4dcbbccf1b0603506efcae413433.tar.gz
vyos-cloud-init-75109ffd12ad4dcbbccf1b0603506efcae413433.zip
return dict not None on get_config_obj
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py
index 2821402a..7c8928b3 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -302,7 +302,7 @@ class DataSourceSmartOS(sources.DataSource):
def get_config_obj(self):
if self.smartos_type == SMARTOS_ENV_KVM:
return BUILTIN_CLOUD_CONFIG
- return None
+ return {}
def get_instance_id(self):
return self.metadata['instance-id']