example/features/retry: fix grpc.NewClient call in documentation (#8163)

This commit is contained in:
Purnesh Dixit 2025-03-13 10:33:28 +05:30 committed by GitHub
parent 75d4a60639
commit d860daa75b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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))
```