composer: use logrus everywhere for consistency
This commit is contained in:
parent
b599245284
commit
8f80dd06d6
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue