summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-26 11:24:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-26 11:24:52 +0900
commit9b1dac34bb22f159babf352bf43d7e3ffdf157e5 (patch)
tree50119400a00105e234bd3916e92ebc645c103a16 /gobgpd/main.go
parentebac86e07ac40d19037ca100c42bac7ba94aae12 (diff)
openswitch: use proper gRPC API
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index f886ea95..c8f32926 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -186,7 +186,7 @@ func main() {
}()
if opts.Ops {
- m, err := ops.NewOpsManager(grpcServer, bgpServer.GrpcReqCh)
+ m, err := ops.NewOpsManager(opts.GrpcHosts)
if err != nil {
log.Errorf("Failed to start ops config manager: %s", err)
os.Exit(1)