diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cli/root.go | 2 | ||||
-rw-r--r-- | cmd/main.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/cli/root.go b/cmd/cli/root.go index 5e201daa..6f73aecf 100644 --- a/cmd/cli/root.go +++ b/cmd/cli/root.go @@ -16,7 +16,7 @@ import ( "net/http" "github.com/spf13/cobra" - "github.com/spiral/endure" + endure "github.com/spiral/endure/pkg/container" ) var ( diff --git a/cmd/main.go b/cmd/main.go index 68d0cadb..1dd19107 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -3,7 +3,7 @@ package main import ( "log" - "github.com/spiral/endure" + endure "github.com/spiral/endure/pkg/container" "github.com/spiral/roadrunner/v2/cmd/cli" httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" "github.com/spiral/roadrunner/v2/plugins/informer" @@ -22,7 +22,7 @@ import ( func main() { var err error - cli.Container, err = endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.RetryOnFail(false)) + cli.Container, err = endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel), endure.RetryOnFail(false)) if err != nil { log.Fatal(err) } |