cmd/route: XXX RIP

This commit is contained in:
Cadey Ratio 2017-04-28 22:16:11 -07:00
parent 643527c43a
commit 9fd8ea5390
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ func main() {
creds := jwtcreds.NewFromToken(m.Get("password")) creds := jwtcreds.NewFromToken(m.Get("password"))
conn, err := grpc.Dial(*grpcServer, conn, err := grpc.Dial(*grpcServer,
grpc.WithTransportCredentials(connCreds), grpc.WithTransportCredentials(connCreds),
grpc.WithInsecure(),
grpc.WithPerRPCCredentials(creds)) grpc.WithPerRPCCredentials(creds))
if err != nil { if err != nil {
ln.Fatal(ln.F{"err": err, "action": "grpc.Dial"}) ln.Fatal(ln.F{"err": err, "action": "grpc.Dial"})