diff options
Diffstat (limited to 'internal/pkg/table/table_manager.go')
-rw-r--r-- | internal/pkg/table/table_manager.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/pkg/table/table_manager.go b/internal/pkg/table/table_manager.go index aa0cd0fc..b16f135b 100644 --- a/internal/pkg/table/table_manager.go +++ b/internal/pkg/table/table_manager.go @@ -354,11 +354,3 @@ func (manager *TableManager) GetDestination(path *Path) *Destination { } return t.GetDestination(path.GetNlri()) } - -func (manager *TableManager) TableInfo(id string, as uint32, family bgp.RouteFamily) (*TableInfo, error) { - t, ok := manager.Tables[family] - if !ok { - return nil, fmt.Errorf("address family %s is not configured", family) - } - return t.Info(id, as), nil -} |