diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-03-31 08:54:13 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-04 13:50:53 +0900 |
commit | 3febf8129ee052adf013b6f8559e9cb950f3cdd5 (patch) | |
tree | 697a1e233383653e93043a57ab42cb598b47e304 /table/table_manager.go | |
parent | 9c37e5aee02e9a0c7577237aa722bc76e22ccb3e (diff) |
table: change Path.clone to copy path attributes and make it public
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table/table_manager.go')
-rw-r--r-- | table/table_manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/table_manager.go b/table/table_manager.go index f7619d11..abb00cf9 100644 --- a/table/table_manager.go +++ b/table/table_manager.go @@ -204,7 +204,7 @@ func (manager *TableManager) calculate(destinationList []Destination) ([]Path, e p := destination.getBestPath() destination.setOldBestPath(p) - newPaths = append(newPaths, p.clone(true)) + newPaths = append(newPaths, p.Clone(true)) } destination.setBestPath(nil) } else { |