Merge lp:~agx/cloud-init/nocloud into lp:~cloud-init-dev/cloud-init/trunk
Proposed by
Guido Günther
Status: | Merged |
---|---|
Merge reported by: | Scott Moser |
Merged at revision: | not available |
Proposed branch: | lp:~agx/cloud-init/nocloud |
Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
Diff against target: |
13 lines (+3/-0) 1 file modified
cloudinit/sources/DataSourceNoCloud.py (+3/-0) |
To merge this branch: | bzr merge lp:~agx/cloud-init/nocloud |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
cloud-init Commiters | Pending | ||
Review via email: mp+276426@code.launchpad.net |
Description of the change
nocloud: Make sure ds_cfg is not None
otherwise this barfs when accessing it for the first time in get_data().
This is modelled like the DataSourceOpenS
To post a comment you must log in.
Hi,
I've just committed revision 1194 to trunk that should fix this for you.
Now the base DataSource class sets ds_cfg to a {} rather than None if it was set. so you should only ever get it as a dictionary.