cmd: use log in koji

This commit is contained in:
Lukas Zapletal 2025-05-06 14:53:01 +02:00 committed by Achilleas Koutsou
parent 650e7b64c2
commit 71117f3ccc

View file

@ -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)
}
}()