diff options
author | Sergey Elantsev <elantsev.s@yandex.ru> | 2020-03-09 15:19:17 +0300 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2020-03-11 06:21:16 +0900 |
commit | 136c8222c493a9a5a44a89db153571f7ae5d75a5 (patch) | |
tree | faf88fdeabfd8c9a466159c18c09e29992a8f41d /internal | |
parent | 077e3aa5ca05f4d9341f20d19c3bf6c6d8fedb69 (diff) |
fixed style: unnecessary type cast after type switch and some minor issues.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/pkg/table/adj.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/table/adj.go b/internal/pkg/table/adj.go index aedc41d6..49315e87 100644 --- a/internal/pkg/table/adj.go +++ b/internal/pkg/table/adj.go @@ -228,7 +228,7 @@ func (adj *AdjRib) MarkLLGRStaleOrDrop(rfList []bgp.RouteFamily) []*Path { func (adj *AdjRib) Select(family bgp.RouteFamily, accepted bool, option ...TableSelectOption) (*Table, error) { t, ok := adj.table[family] if !ok { - t = NewTable((family)) + t = NewTable(family) } option = append(option, TableSelectOption{adj: true}) return t.Select(option...) |