summaryrefslogtreecommitdiffstats
path: root/plugin/client_rpc.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/client_rpc.go')
-rw-r--r--plugin/client_rpc.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/client_rpc.go b/plugin/client_rpc.go
index dde4c5f2e..d8547f352 100644
--- a/plugin/client_rpc.go
+++ b/plugin/client_rpc.go
@@ -265,7 +265,7 @@ func (g *hooksRPCClient) ServeHTTP(c *Context, w http.ResponseWriter, r *http.Re
go func() {
bodyConnection, err := g.muxBroker.Accept(requestBodyStreamId)
if err != nil {
- g.log.Error("Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connecion", mlog.Err(err))
+ g.log.Error("Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection", mlog.Err(err))
http.Error(w, "500 internal server error", http.StatusInternalServerError)
return
}
@@ -295,7 +295,6 @@ func (g *hooksRPCClient) ServeHTTP(c *Context, w http.ResponseWriter, r *http.Re
g.log.Error("Plugin failed to ServeHTTP, RPC call failed", mlog.Err(err))
http.Error(w, "500 internal server error", http.StatusInternalServerError)
}
- return
}
func (s *hooksRPCServer) ServeHTTP(args *Z_ServeHTTPArgs, returns *struct{}) error {