Many: factor out logger implementation from upload/koji
The upload/koji package functions were creating a logger and then were using it. This is not ideal for a library implementation. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
60014b1218
commit
ca1e1dce36
7 changed files with 60 additions and 46 deletions
|
|
@ -53,7 +53,7 @@ func TestKojiRefund(t *testing.T) {
|
|||
Principal: "osbuild-krb@LOCAL",
|
||||
KeyTab: shareDir + "/client.keytab",
|
||||
}
|
||||
k, err := koji.NewFromGSSAPI(server, credentials, transport)
|
||||
k, err := koji.NewFromGSSAPI(server, credentials, transport, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
defer func() {
|
||||
|
|
@ -114,7 +114,7 @@ func TestKojiImport(t *testing.T) {
|
|||
Principal: "osbuild-krb@LOCAL",
|
||||
KeyTab: shareDir + "/client.keytab",
|
||||
}
|
||||
k, err := koji.NewFromGSSAPI(server, credentials, transport)
|
||||
k, err := koji.NewFromGSSAPI(server, credentials, transport, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
defer func() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue