diff options
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5srvForward.go')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5srvForward.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvForward.go b/src/hub/src/spreadspace.org/sfive/s5srvForward.go index 094a1a8..904dc18 100644 --- a/src/hub/src/spreadspace.org/sfive/s5srvForward.go +++ b/src/hub/src/spreadspace.org/sfive/s5srvForward.go @@ -109,7 +109,7 @@ func fwdPostUpdates(client *http.Client, url string, pr *io.PipeReader) (int, er return result.NumUpdates, nil } -func (srv Server) forwardRun(baseUrl string, client *http.Client) { +func (srv *Server) forwardRun(baseUrl string, client *http.Client) { url := baseUrl + "/updates/_bulk" hubUUID := srv.store.GetHubUUID() tryResync: @@ -151,7 +151,7 @@ tryResync: } } -func (srv Server) RunForwarding(cfg SFiveForwardConfig) { +func (srv *Server) RunForwarding(cfg SFiveForwardConfig) { s5l.Printf("srv|fwd: forwarding to '%s'", cfg.URL) defer s5l.Println("srv|fwd: forwarder stopped") |