Closed thrasher-redhat closed 8 years ago
LGTM
Although there are no tests for oo-admin-chk, it may still be useful to run through the testing suite since this is a change to the controller code.
[test]
Evaluated for online test up to 65f72bd7c6b022a6211c80670c2b40934f0802ec
Online Test Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9148/)
[merge] please!
Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/6688/) (Image: devenv_5754)
Evaluated for online merge up to 65f72bd7c6b022a6211c80670c2b40934f0802ec
Bug 1279584 BZ https://bugzilla.redhat.com/show_bug.cgi?id=1279584
In situations where get_plans() returns nil when trying to determine user capabilities, attempting to populate_user_hash() in oo-admin-chk and oo-admin-repair would result in the script crashing due to an undefined method exception. The script will now check if get_plans() comes back nil and will drop back to using the default user capabilities, as well as displaying a warning that the plan has not been implemented. This warning will not cause oo-admin-chk or oo-admin-repair to fail.