summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-15 15:54:14 +0300
committerWolfy-J <[email protected]>2018-06-15 15:54:14 +0300
commitdfef39c64132192d13e2315364a74f1b0244791e (patch)
treeb0959bbbb1ca5a16d94646454d7f2e9340081915 /cmd/rr/main.go
parentccd297dbe2586b3fd29854f72f795be9e818522e (diff)
readme, samples, golint, build scripts
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))
}
})