mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
cli: catch up with google.golang.org/grpc update
Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user