composer: use logrus everywhere for consistency

This commit is contained in:
Diaa Sami 2021-12-13 17:08:52 +01:00 committed by Tom Gundersen
parent b599245284
commit 8f80dd06d6

View file

@ -192,11 +192,11 @@ func (c *Composer) InitRemoteWorkers(cert, key string, enableTLS bool, enableMTL
func (c *Composer) Start() error {
// sanity checks
if c.localWorkerListener == nil && c.workerListener == nil {
log.Fatal("neither the local worker socket nor the remote worker socket is enabled, osbuild-composer is useless without workers")
logrus.Fatal("neither the local worker socket nor the remote worker socket is enabled, osbuild-composer is useless without workers")
}
if c.apiListener == nil && c.weldrListener == nil {
log.Fatal("neither the weldr API socket nor the composer API socket is enabled, osbuild-composer is useless without one of these APIs enabled")
logrus.Fatal("neither the weldr API socket nor the composer API socket is enabled, osbuild-composer is useless without one of these APIs enabled")
}
if c.localWorkerListener != nil {