summaryrefslogtreecommitdiffhomepage
path: root/table/table_manager.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-31 08:54:13 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-04 13:50:53 +0900
commit3febf8129ee052adf013b6f8559e9cb950f3cdd5 (patch)
tree697a1e233383653e93043a57ab42cb598b47e304 /table/table_manager.go
parent9c37e5aee02e9a0c7577237aa722bc76e22ccb3e (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.go2
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 {