Skip to content

Commit d860daa

Browse files
authored
example/features/retry: fix grpc.NewClient call in documentation (#8163)
1 parent 75d4a60 commit d860daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/features/retry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ To use the above service config, pass it with `grpc.WithDefaultServiceConfig` to
6060
`grpc.NewClient`.
6161

6262
```go
63-
conn, err := grpc.NewClient(ctx,grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(retryPolicy))
63+
conn, err := grpc.NewClient(target, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(retryPolicy))
6464
```

0 commit comments

Comments
 (0)