Fix fonud typo in rpmmd

This commit is contained in:
Brian C. Lane 2020-06-04 08:07:09 -07:00 committed by msehnout
parent f5680284df
commit 0f5b99c754

View file

@ -306,7 +306,7 @@ func (repo RepoConfig) toDNFRepoConfig(rpmmd *rpmmdImpl, i int) (dnfRepoConfig,
}
if repo.RHSM {
if rpmmd.RHSM == nil {
return dnfRepoConfig{}, fmt.Errorf("RHSM secrets not fonud on host")
return dnfRepoConfig{}, fmt.Errorf("RHSM secrets not found on host")
}
dnfRepo.SSLCACert = rpmmd.RHSM.SSLCACert
dnfRepo.SSLClientKey = rpmmd.RHSM.SSLClientKey