summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-29 10:57:02 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-29 11:10:18 +0900
commitec7b27eb3da385d68ddf2f8ed735d43afe2cb7fd (patch)
tree3bcef01d87c2a23d44125197d453011395cb1311
parent19540c73c5a2c203051f59f41fbede0964c3cf90 (diff)
cli: catch up with google.golang.org/grpc update
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r--gobgp/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/common.go b/gobgp/common.go
index 12c08256..f61cf2ad 100644
--- a/gobgp/common.go
+++ b/gobgp/common.go
@@ -386,7 +386,7 @@ func connGrpc() *grpc.ClientConn {
target = fmt.Sprintf("[%s]:%d", globalOpts.Host, globalOpts.Port)
}
- conn, err := grpc.Dial(target, timeout)
+ conn, err := grpc.Dial(target, timeout, grpc.WithBlock(), grpc.WithInsecure())
if err != nil {
fmt.Println(err)
os.Exit(1)