URL:
https://github.com/freeipa/freeipa/pull/2878
Author: abbra
Title: #2878: domainlevel_get: return errors.NotFound when domain level is missing
Action: opened
PR body:
"""
If the server doesn't have domain level set, callers in replica
installer expect errors.NotFound but never get it.
Return the right exception here and change the other caller to follow
the same convention.
Use DOMAIN_LEVEL_0 constant instead of 0 as used by the rest of the code.
Fixes:
https://pagure.io/freeipa/issue/7876
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2878/head:pr2878
git checkout pr2878