Merge ~dmulford/cloud-init:add-null-check into cloud-init:master
Proposed by
David Mulford
Status: | Merged |
---|---|
Merged at revision: | 9bc4ce0596544ffa56d9d67245b00e07006a8662 |
Proposed branch: | ~dmulford/cloud-init:add-null-check |
Merge into: | cloud-init:master |
Diff against target: |
168 lines (+43/-18) 2 files modified
cloudinit/config/cc_rh_subscription.py (+28/-18) tests/unittests/test_rh_subscription.py (+15/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Scott Moser | Pending | ||
Review via email: mp+333293@code.launchpad.net |
This proposal supersedes a proposal from 2017-10-10.
Commit message
rh_subscription: perform null checks for enabled and disabled repos.
The rh_subscription module doesn't perform null checks when attempting to
iterate on the enabled and disable repos arrays. When only one is
specified, cloud-init fails to run.
Description of the change
The rh_subscription module doesn't perform null checks when attempting to iterate on the enabled and disable repos arrays. When only one is specified, cloud-init fails to run.
To post a comment you must log in.
see comment inline.