store: set RHSM when initialising SourceConfig with a repo

Fixes #2055
This commit is contained in:
Achilleas Koutsou 2021-12-07 14:09:00 +01:00 committed by msehnout
parent 8c5e32ad9e
commit 2e1f6ead4e

View file

@ -555,6 +555,7 @@ func NewSourceConfig(repo rpmmd.RepoConfig, system bool) SourceConfig {
CheckGPG: repo.CheckGPG,
CheckSSL: !repo.IgnoreSSL,
System: system,
RHSM: repo.RHSM,
}
if repo.BaseURL != "" {