mirror of https://github.com/grpc/grpc-go.git
example/features/retry: fix grpc.NewClient call in documentation (#8163)
This commit is contained in:
parent
75d4a60639
commit
d860daa75b
|
@ -60,5 +60,5 @@ To use the above service config, pass it with `grpc.WithDefaultServiceConfig` to
|
|||
`grpc.NewClient`.
|
||||
|
||||
```go
|
||||
conn, err := grpc.NewClient(ctx,grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(retryPolicy))
|
||||
conn, err := grpc.NewClient(target, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(retryPolicy))
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue