diff options
author | Wolfy-J <[email protected]> | 2018-06-12 19:06:01 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-12 19:06:01 +0300 |
commit | f8d8e9a55d31c6ee98b1f292e49b31b474883a4f (patch) | |
tree | a931e304869d1076b5ca6bd793800d701406331a /cmd | |
parent | d6aa174084bff228ab36d560252e2d11d0d6cc15 (diff) |
tests!
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rr/debug/listener.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/debug/listener.go b/cmd/rr/debug/listener.go index 393e2b2e..1b6fcf83 100644 --- a/cmd/rr/debug/listener.go +++ b/cmd/rr/debug/listener.go @@ -20,10 +20,10 @@ func (s *listener) Listener(event int, ctx interface{}) { // http events switch event { case http.EventResponse: - log := ctx.(*http.Log) + log := ctx.(*http.Event) s.logger.Info(utils.Sprintf("%s <white+hb>%s</reset> %s", statusColor(log.Status), log.Method, log.Uri)) case http.EventError: - log := ctx.(*http.Log) + log := ctx.(*http.Event) if _, ok := log.Error.(roadrunner.JobError); ok { s.logger.Info(utils.Sprintf("%s <white+hb>%s</reset> %s", statusColor(log.Status), log.Method, log.Uri)) |