mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-12-08 20:38:48 +00:00
cli options, fixes
This commit is contained in:
@@ -24,7 +24,7 @@ class RouteCollector(BaseCollector):
|
||||
route_labels = ['connect', 'dynamic', 'static', 'bgp', 'ospf']
|
||||
route_records = router_metric.route_records(route_labels)
|
||||
if not route_records:
|
||||
return
|
||||
return range(0)
|
||||
|
||||
# compile total routes records
|
||||
total_routes = len(route_records)
|
||||
|
||||
Reference in New Issue
Block a user