Skip to content

Commit 3b626a7

Browse files
authored
*: fix more typos (#7619)
1 parent 04e78b0 commit 3b626a7

File tree

54 files changed

+103
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+103
-103
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ We definitely welcome your patches and contributions to gRPC! Please read the gR
44
organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md)
55
and [contribution guidelines](https://github.com/grpc/grpc-community/blob/master/CONTRIBUTING.md) before proceeding.
66

7-
If you are new to github, please start by reading [Pull Request howto](https://help.github.com/articles/about-pull-requests/)
7+
If you are new to GitHub, please start by reading [Pull Request howto](https://help.github.com/articles/about-pull-requests/)
88

99
## Legal requirements
1010

@@ -39,7 +39,7 @@ How to get your contributions merged smoothly and quickly.
3939
proposal](https://github.com/grpc/proposal).
4040

4141
- Provide a good **PR description** as a record of **what** change is being made
42-
and **why** it was made. Link to a github issue if it exists.
42+
and **why** it was made. Link to a GitHub issue if it exists.
4343

4444
- If you want to fix formatting or style, consider whether your changes are an
4545
obvious improvement or might be considered a personal preference. If a style

Documentation/encoding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ performing compression and decompression.
8383
A `Compressor` contains code to compress and decompress by wrapping `io.Writer`s
8484
and `io.Reader`s, respectively. (The form of `Compress` and `Decompress` were
8585
chosen to most closely match Go's standard package
86-
[implementations](https://golang.org/pkg/compress/) of compressors. Like
86+
[implementations](https://golang.org/pkg/compress/) of compressors). Like
8787
`Codec`s, `Compressor`s are registered by name into a global registry maintained
8888
in the `encoding` package.
8989

Documentation/grpc-auth-support.md

Lines changed: 1 addition & 1 deletion
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 an 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

balancer/balancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type SubConn interface {
130130
// UpdateAddresses updates the addresses used in this SubConn.
131131
// gRPC checks if currently-connected address is still in the new list.
132132
// If it's in the list, the connection will be kept.
133-
// If it's not in the list, the connection will gracefully closed, and
133+
// If it's not in the list, the connection will gracefully close, and
134134
// a new connection will be created.
135135
//
136136
// This will trigger a state transition for the SubConn.

balancer/base/balancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (b *baseBalancer) UpdateClientConnState(s balancer.ClientConnState) error {
133133
}
134134
}
135135
// If resolver state contains no addresses, return an error so ClientConn
136-
// will trigger re-resolve. Also records this as an resolver error, so when
136+
// will trigger re-resolve. Also records this as a resolver error, so when
137137
// the overall state turns transient failure, the error message will have
138138
// the zero address information.
139139
if len(s.ResolverState.Addresses) == 0 {

balancer/endpointsharding/endpointsharding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (es *endpointSharding) UpdateClientConnState(state balancer.ClientConnState
133133
// Return first error found, and always commit full processing of
134134
// updating children. If desired to process more specific errors
135135
// across all endpoints, caller should make these specific
136-
// validations, this is a current limitation for simplicities sake.
136+
// validations, this is a current limitation for simplicity sake.
137137
ret = err
138138
}
139139
}

balancer/grpclb/grpclb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ type lbBalancer struct {
197197

198198
// manualResolver is used in the remote LB ClientConn inside grpclb. When
199199
// resolved address updates are received by grpclb, filtered updates will be
200-
// send to remote LB ClientConn through this resolver.
200+
// sent to remote LB ClientConn through this resolver.
201201
manualResolver *manual.Resolver
202202
// The ClientConn to talk to the remote balancer.
203203
ccRemoteLB *remoteBalancerCCWrapper

balancer/rls/internal/keys/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func (b builder) Equal(a builder) bool {
189189
// Protobuf serialization maintains the order of repeated fields. Matchers
190190
// are specified as a repeated field inside the KeyBuilder proto. If the
191191
// order changes, it means that the order in the protobuf changed. We report
192-
// this case as not being equal even though the builders could possible be
192+
// this case as not being equal even though the builders could possibly be
193193
// functionally equal.
194194
for i, bMatcher := range b.headerKeys {
195195
aMatcher := a.headerKeys[i]

balancer/weightedroundrobin/balancer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (s) TestBalancer_OneAddress(t *testing.T) {
212212
// balancer startup case which triggers the first picker and scheduler update
213213
// before any load reports are received.
214214
//
215-
// Note that this test and others, metrics emission asssertions are a snapshot
215+
// Note that this test and others, metrics emission assertions are a snapshot
216216
// of the most recently emitted metrics. This is due to the nondeterminism of
217217
// scheduler updates with respect to test bodies, so the assertions made are
218218
// from the most recently synced state of the system (picker/scheduler) from the

benchmark/benchmark.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ func StartServer(info ServerInfo, opts ...grpc.ServerOption) func() {
276276
}
277277
}
278278

279-
// DoUnaryCall performs an unary RPC with given stub and request and response sizes.
279+
// DoUnaryCall performs a unary RPC with given stub and request and response sizes.
280280
func DoUnaryCall(tc testgrpc.BenchmarkServiceClient, reqSize, respSize int) error {
281281
pl := NewPayload(testpb.PayloadType_COMPRESSABLE, reqSize)
282282
req := &testpb.SimpleRequest{

0 commit comments

Comments
 (0)