Merge ~dmulford/cloud-init:add-null-check into cloud-init:master
Proposed by
David Mulford
Status: | Superseded |
---|---|
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 | Needs Information | ||
Review via email: mp+332057@code.launchpad.net |
This proposal has been superseded by a proposal from 2017-11-06.
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.