summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index c43da3f4..b1bfae7d 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1378,7 +1378,7 @@ func (server *BgpServer) handleFSMMessage(peer *Peer, e *FsmMsg) {
return
}
-func (s *BgpServer) StartCollector(c *config.CollectorConfig) error {
+func (s *BgpServer) AddCollector(c *config.CollectorConfig) error {
return s.mgmtOperation(func() error {
_, err := NewCollector(s, c.Url, c.DbName, c.TableDumpInterval)
return err