fixed bgp collector (#12)
This commit is contained in:
committed by
Steve Brunton
parent
39e54be98d
commit
eb9269527d
@@ -46,7 +46,7 @@ type collector struct {
|
||||
// WithBGP enables BGP routing metrics
|
||||
func WithBGP() Option {
|
||||
return func(c *collector) {
|
||||
c.collectors = append(c.collectors, &bgpCollector{})
|
||||
c.collectors = append(c.collectors, newBGPCollector())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user