Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osrelease-detector: avoid colliding with other detectors
Due to the detector registration and fact that their in a non-ordered map, it is random whether the osrelease or redhatrelease detector would hit. And likely resulted in alternately formatted namespace strings. This change causes the osrelease to not detect when data has centos-release or redhat-release, which is not _great_ because if the redhatrelease detector is not compiled in, then that would not be a fallback that the osrelease detector could rely on. :-\ Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
- Loading branch information