rpmmd: drop the Name attribute from RepoConfig

This was never actually used anywhere, as passing it to dnf-json
was a noop.

We may want to reconsider the concept of a source/repo name and
how it differs from an ID, but for now drop the name.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-03-15 22:37:50 +01:00
parent 7ea74cd131
commit 5d179428be
12 changed files with 3 additions and 23 deletions

View file

@ -969,7 +969,6 @@ func NewSourceConfig(repo rpmmd.RepoConfig, system bool) SourceConfig {
func (s *SourceConfig) RepoConfig() rpmmd.RepoConfig {
var repo rpmmd.RepoConfig
repo.Name = s.Name
repo.Id = s.Name
repo.IgnoreSSL = !s.CheckSSL