diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-29 10:57:02 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-29 11:10:18 +0900 |
commit | ec7b27eb3da385d68ddf2f8ed735d43afe2cb7fd (patch) | |
tree | 3bcef01d87c2a23d44125197d453011395cb1311 | |
parent | 19540c73c5a2c203051f59f41fbede0964c3cf90 (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.go | 2 |
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) |