From a224f2fe0c45f0883aa25287fcfbff885cfc3fd0 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 28 Apr 2017 22:21:57 -0700 Subject: [PATCH] cmd/route: secure --- cmd/route/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/route/main.go b/cmd/route/main.go index 26e36dc..61bc70d 100644 --- a/cmd/route/main.go +++ b/cmd/route/main.go @@ -140,7 +140,6 @@ func main() { creds := jwtcreds.NewFromToken(m.Get("password")) conn, err := grpc.Dial(*grpcServer, grpc.WithTransportCredentials(connCreds), - grpc.WithInsecure(), grpc.WithPerRPCCredentials(creds)) if err != nil { ln.Fatal(ln.F{"err": err, "action": "grpc.Dial"})