diff --git a/api/server/runner.go b/api/server/runner.go index 70bdb0263..48237fe02 100644 --- a/api/server/runner.go +++ b/api/server/runner.go @@ -86,7 +86,6 @@ func (s *Server) serve(c *gin.Context, appName, path string) { return } - err = doCall(call) err = s.Agent.Submit(call) if err != nil { // NOTE if they cancel the request then it will stop the call (kind of cool), diff --git a/docs/operating/extending.md b/docs/operating/extending.md index 59de6ed62..e17c48276 100644 --- a/docs/operating/extending.md +++ b/docs/operating/extending.md @@ -19,7 +19,8 @@ The following listener types are supported: ### Creating a Listener -You can easily use app and runner listeners by creating a struct with valid methods satisfying the interface for the respective listener and adding it to the Fn API +You can easily use add listeners by creating a struct with valid methods satisfying the interface +for the respective listener, adding it to `main.go` then compiling. Example: