Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rhel: fix cpe mapping type assertion
this commit makes sure a nil pointer of type *repo2cpe.MappingFile is loaded into the atomic.Value. type assertions of the atomic.Value should never fail after this. Loads() of the atomic.Value before a mapping file is downloaded should return a typed nil. Signed-off-by: ldelossa <[email protected]>
- Loading branch information