← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:bug/1742479-no-manual_cache_clean-warning into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:bug/1742479-no-manual_cache_clean-warning into cloud-init:master has been updated.

Commit Message changed to:

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

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/335956
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:bug/1742479-no-manual_cache_clean-warning into cloud-init:master.


References