cmd: use log in koji
This commit is contained in:
parent
650e7b64c2
commit
71117f3ccc
1 changed files with 2 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path"
|
||||
"time"
|
||||
|
|
@ -11,7 +12,6 @@ import (
|
|||
"github.com/osbuild/images/pkg/platform"
|
||||
"github.com/osbuild/images/pkg/rpmmd"
|
||||
"github.com/osbuild/osbuild-composer/internal/upload/koji"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
@ -51,7 +51,7 @@ func main() {
|
|||
defer func() {
|
||||
err := k.Logout()
|
||||
if err != nil {
|
||||
logrus.Warn("logging out of koji failed ", err)
|
||||
log.Printf("logging out of koji failed: %s ", err)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue