Merge lp:~gz/juju-ci-tools/recovery_detect_correct_1638893 into lp:juju-ci-tools
Status: | Merged |
---|---|
Merged at revision: | 1707 |
Proposed branch: | lp:~gz/juju-ci-tools/recovery_detect_correct_1638893 |
Merge into: | lp:juju-ci-tools |
Diff against target: |
58 lines (+32/-1) 2 files modified
assess_recovery.py (+3/-1) tests/test_assess_recovery.py (+29/-0) |
To merge this branch: | bzr merge lp:~gz/juju-ci-tools/recovery_detect_correct_1638893 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Curtis Hovey (community) | code | Approve | |
Review via email: mp+309940@code.launchpad.net |
Commit message
Fix assess_recovery log collection failure when status fails
Description of the change
Values in the known_hosts dict must be addresses. The detect_
This branch adds test coverage and does not assign to known_hosts if no address is present. I think, but am not certain, that this is what we want over also clearing an existing 0 address in this case.
Also have the option of defending against a known_hosts dict with bad values in the log collection code, I feel it's better to just hold callers to passing correct data.
Thank you.