diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-01-12 14:23:26 -0700 |
---|---|---|
committer | Chad Smith <blackboxsw@gmail.com> | 2018-01-12 14:23:26 -0700 |
commit | 6299e8d0cc230b0c9b41a69a5963bcd2c252c337 (patch) | |
tree | 4da09bab37ece6f2752d710f384746e8bb186ac8 /LICENSE-Apache2.0 | |
parent | 78372f16d2711812793196aa8003ad51693ca472 (diff) | |
download | vyos-cloud-init-6299e8d0cc230b0c9b41a69a5963bcd2c252c337.tar.gz vyos-cloud-init-6299e8d0cc230b0c9b41a69a5963bcd2c252c337.zip |
Do not log warning on config files that represent None.
This issue was first identified when manual_cache_clean was set, as
ds-identify would write /run/cloud-init/cloud.cfg with
# manual_cache_clean
that would generate a warning as cloud-init expected to load a dict.
Any other "empty" config would also log such a warning.
Also fix reading of di_report to allow it to be None, as ds-identify
would write:
di_report:
# manual_cache_clean
which reads as 'di_report: None' rather than di_report: {}.
LP: #1742479
Diffstat (limited to 'LICENSE-Apache2.0')
0 files changed, 0 insertions, 0 deletions