diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-06-05 15:24:27 +0900 |
---|---|---|
committer | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-06-13 13:57:14 +0900 |
commit | 57f103ef345deb493f085525ed1674fe18c1dc0e (patch) | |
tree | c36ca0a23940c06e682a188b46ca28593793e84d /server/server.go | |
parent | 000589f3cfa62d1cc62a84e3ce3723fc5b306144 (diff) |
api: Implement AddCollector()
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 2 |
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 |