From 633b26594ebfbb33ac92fcc555d14e0aa2ea8b7f Mon Sep 17 00:00:00 2001 From: Travis Reeder Date: Mon, 9 Oct 2017 19:26:40 -0600 Subject: [PATCH] minor --- api/server/runner.go | 1 - docs/operating/extending.md | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) 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: