summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 40f191c6..4ab2fbe2 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -55,7 +55,7 @@ func main() {
cobra.OnInitialize(func() {
if debugMode {
service, _ := rr.Container.Get(http.ID)
- service.(*http.Service).AddListener(debug.NewListener(rr.Logger).Listener)
+ service.(*http.Service).AddListener(debug.Listener(rr.Logger))
}
})