forked from LaconicNetwork/kompose
Clean up logrus
Replaces "log" from "logrus" as commonly used in large Go projects. Makes it easier from a developer perspective to use `log.Info`, `log.Debug`, etc.
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -30,7 +30,7 @@ var completion = &cobra.Command{
|
||||
|
||||
err := Generate(cmd, args)
|
||||
if err != nil {
|
||||
logrus.Fatalf("Error: %s", err)
|
||||
log.Fatalf("Error: %s", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user