Skip to content

Commit

Permalink
table: keep receiver name the same
Browse files Browse the repository at this point in the history
keep receiver name the same, it's more readable for IDE.
  • Loading branch information
lx1036 authored Oct 29, 2021
1 parent c8e54e7 commit 3510a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pkg/table/table_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ func (manager *TableManager) DeleteVrf(name string) ([]*Path, error) {
return msgs, nil
}

func (tm *TableManager) update(newPath *Path) *Update {
t := tm.Tables[newPath.GetRouteFamily()]
func (manager *TableManager) update(newPath *Path) *Update {
t := manager.Tables[newPath.GetRouteFamily()]
t.validatePath(newPath)
dst := t.getOrCreateDest(newPath.GetNlri(), 64)
u := dst.Calculate(newPath)
Expand Down

0 comments on commit 3510a6f

Please sign in to comment.