diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-11 21:54:50 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-20 04:25:25 +0900 |
commit | f27afac154c955e1e2508d2443ef29ecfc62c6b8 (patch) | |
tree | 7fd57b56426706790a3fc6c746d2604e30b80493 /server/monitor.go | |
parent | e090609b146fdde93714e966aa8ec300b5842ba3 (diff) |
move gRPC-related code in path.go and destination.go to grpc_server.go
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/monitor.go')
-rw-r--r-- | server/monitor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/monitor.go b/server/monitor.go index 1f445c35..d8276c9e 100644 --- a/server/monitor.go +++ b/server/monitor.go @@ -83,7 +83,7 @@ func (w *grpcWatcher) loop() error { for _, dst := range dsts { paths := make([]*api.Path, 0, len(dst)) for _, path := range dst { - paths = append(paths, path.ToApiStruct(table.GLOBAL_RIB_NAME)) + paths = append(paths, toPathApi(table.GLOBAL_RIB_NAME, path)) } if len(paths) == 0 { continue |