Skip to content

Commit 88ac703

Browse files
authored
grpc: fixing typos (grpc#8796)
This change fixes some typos. RELEASE NOTES: none
1 parent a2a2023 commit 88ac703

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

internal/stats/metrics_recorder_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ type asyncRecorderWrapper struct {
153153
// RecordIntAsync64Gauge records the measurement alongside labels on the int
154154
// gauge associated with the provided handle.
155155
func (w *asyncRecorderWrapper) RecordInt64AsyncGauge(handle *estats.Int64AsyncGaugeHandle, value int64, labels ...string) {
156-
// Ensure only metrics for descriptors passed during callback registeration
156+
// Ensure only metrics for descriptors passed during callback registration
157157
// are emitted.
158158
d := handle.Descriptor()
159159
if _, ok := w.descriptors[d]; !ok {

internal/xds/xdsdepmgr/xds_dependency_manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ func (m *DependencyManager) maybeSendUpdateLocked() {
301301
// []string: A slice of all "leaf" cluster names discovered in the
302302
// traversal starting from `clusterName`. For
303303
// non-aggregate clusters, this will contain only `clusterName`.
304-
// error: Error that needs to be propogated up the tree (like
304+
// error: Error that needs to be propagated up the tree (like
305305
// max depth exceeded or an error propagated from a
306306
// child cluster).
307307
func (m *DependencyManager) populateClusterConfigLocked(clusterName string, depth int, clusterConfigs map[string]*xdsresource.ClusterResult, endpointResourcesSeen, dnsResourcesSeen, clustersSeen map[string]bool) (bool, []string, error) {
@@ -798,7 +798,7 @@ func (m *DependencyManager) onDNSError(resourceName string, err error) {
798798
m.maybeSendUpdateLocked()
799799
}
800800

801-
// RequestDNSReresolution calls all the the DNS resolver's ResolveNow.
801+
// RequestDNSReresolution calls all the DNS resolver's ResolveNow.
802802
func (m *DependencyManager) RequestDNSReresolution(opt resolver.ResolveNowOptions) {
803803
m.mu.Lock()
804804
defer m.mu.Unlock()

internal/xds/xdsdepmgr/xds_dependency_manager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,7 @@ func (s) TestAggregateClusterMaxDepth(t *testing.T) {
14251425
}
14261426
}
14271427

1428-
// Tests the scenrio where the Endpoint watcher receives an ambient error. Tests
1428+
// Tests the scenario where the Endpoint watcher receives an ambient error. Tests
14291429
// verifies that the error is stored in resolution note and the update remains
14301430
// too.
14311431
func (s) TestEndpointAmbientError(t *testing.T) {

0 commit comments

Comments
 (0)