cli: catch up with google.golang.org/grpc update

Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
ISHIDA Wataru
2015-08-29 11:10:18 +09:00
parent 19540c73c5
commit ec7b27eb3d
+1 -1
View File
@@ -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)