refactor: use usual naming style [ci skip]

This commit is contained in:
decentral1se 2021-09-28 21:28:25 +02:00
parent 6f9120b59c
commit 62f6327b66
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -9,7 +9,7 @@ import (
"coopcloud.tech/abra/cli/catalogue" "coopcloud.tech/abra/cli/catalogue"
"coopcloud.tech/abra/cli/recipe" "coopcloud.tech/abra/cli/recipe"
"coopcloud.tech/abra/cli/server" "coopcloud.tech/abra/cli/server"
logrus_stack "github.com/Gurpartap/logrus-stack" logrusStack "github.com/Gurpartap/logrus-stack"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )
@ -79,7 +79,7 @@ func RunApp(version, commit string) {
logrus.SetLevel(logrus.DebugLevel) logrus.SetLevel(logrus.DebugLevel)
logrus.SetFormatter(&logrus.TextFormatter{}) logrus.SetFormatter(&logrus.TextFormatter{})
logrus.SetOutput(os.Stderr) logrus.SetOutput(os.Stderr)
logrus.AddHook(logrus_stack.StandardHook()) logrus.AddHook(logrusStack.StandardHook())
} }
return nil return nil
} }