diff options
Diffstat (limited to 'cmd/rr/http/debug.go')
-rw-r--r-- | cmd/rr/http/debug.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rr/http/debug.go b/cmd/rr/http/debug.go index cae10452..f69e10a8 100644 --- a/cmd/rr/http/debug.go +++ b/cmd/rr/http/debug.go @@ -4,11 +4,11 @@ import ( rr "github.com/spiral/roadrunner/cmd/rr/cmd" "github.com/spf13/cobra" - "github.com/spiral/roadrunner/service/http" "github.com/spiral/roadrunner/cmd/rr/debug" + "github.com/spiral/roadrunner/service/http" ) -func init(){ +func init() { cobra.OnInitialize(func() { if rr.Debug { svc, _ := rr.Container.Get(http.ID) @@ -17,4 +17,4 @@ func init(){ } } }) -}
\ No newline at end of file +} |