it should use insecure flag instead of plaintext
This commit is contained in:
parent
4054d1d115
commit
0b78efceac
|
|
@ -290,7 +290,7 @@ func main() {
|
|||
opts = append(opts, grpc.WithAuthority(*authority))
|
||||
}
|
||||
var creds credentials.TransportCredentials
|
||||
if !*plaintext {
|
||||
if !*insecure {
|
||||
var err error
|
||||
creds, err = grpcurl.ClientTransportCredentials(*insecure, *cacert, *cert, *key)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue