Skip to content

Commit 254ab10

Browse files
documentation: fix typos in benchmark and auth docs (#8674)
RELEASE NOTES: N/A
1 parent 2d56bda commit 254ab10

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Documentation/benchmark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ that are supported.
2424
## Varying Payload Sizes (Weighted Random Distribution)
2525

2626
The `benchmain` utility supports two flags, `-reqPayloadCurveFiles` and
27-
`-respPayloadCurveFiles`, that can be used to specify a histograms representing
27+
`-respPayloadCurveFiles`, that can be used to specify histograms representing
2828
a weighted random distribution of request and response payload sizes,
2929
respectively. This is useful to simulate workloads with arbitrary payload
3030
sizes.
3131

32-
The options takes a comma-separated list of file paths as value. Each file must
32+
The options take a comma-separated list of file paths as value. Each file must
3333
be a valid CSV file with three columns in each row. Each row represents a range
3434
of payload sizes (first two columns) and the weight associated with that range
3535
(third column). For example, consider the below file:

Documentation/grpc-auth-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Authentication
22

3-
As outlined in the [gRPC authentication guide](https://grpc.io/docs/guides/auth.html) there are a number of different mechanisms for asserting identity between a client and server. We'll present some code-samples here demonstrating how to provide TLS support encryption and identity assertions as well as passing OAuth2 tokens to services that support it.
3+
As outlined in the [gRPC authentication guide](https://grpc.io/docs/guides/auth.html), there are a number of different mechanisms for asserting identity between a client and server. We'll present some code-samples here demonstrating how to provide TLS support encryption and identity assertions as well as passing OAuth2 tokens to services that support it.
44

55
# Enabling TLS on a gRPC client
66

@@ -33,7 +33,7 @@ Clients may use
3333
to store tokens and other authentication-related data. To gain access to the
3434
`metadata.MD` object, a server may use
3535
[metadata.FromIncomingContext](https://godoc.org/google.golang.org/grpc/metadata#FromIncomingContext).
36-
With a reference to `metadata.MD` on the server, one needs to simply lookup the
36+
With a reference to `metadata.MD` on the server, one needs to simply look up the
3737
`authorization` key. Note, all keys stored within `metadata.MD` are normalized
3838
to lowercase. See [here](https://godoc.org/google.golang.org/grpc/metadata#New).
3939

0 commit comments

Comments
 (0)