diff options
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go b/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go index d0c07d5..104c005 100644 --- a/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go +++ b/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go @@ -39,7 +39,7 @@ import ( "github.com/equinox0815/graphite-golang" ) -func (srv Server) forwardGraphiteRun(forwardHost string, basePath string) { +func (srv *Server) forwardGraphiteRun(forwardHost string, basePath string) { tryResync: for { client, err := graphite.NewGraphiteFromAddress(forwardHost) @@ -96,7 +96,7 @@ tryResync: } } -func (srv Server) RunForwardingGraphite(cfg GraphiteForwardConfig) { +func (srv *Server) RunForwardingGraphite(cfg GraphiteForwardConfig) { s5l.Printf("srv|fwd-graphite: forwarding to '%s'", cfg.Host) defer s5l.Println("srv|fwd-graphite: forwarder stopped") |