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

@ -46,7 +46,6 @@ func TestFetchChecksum(t *testing.T) {
repoCfg := rpmmd.RepoConfig{
Id: "repo",
Name: "repo",
BaseURL: fmt.Sprintf("file://%s", dir),
IgnoreSSL: true,
}