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:
parent
7ea74cd131
commit
5d179428be
12 changed files with 3 additions and 23 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue