cmd/route: XXX RIP
This commit is contained in:
parent
643527c43a
commit
9fd8ea5390
|
@ -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"})
|
||||||
|
|
Loading…
Reference in New Issue