From 1c32b02682dfa601b9515429c19a67539d83f565 Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Tue, 28 Jul 2020 12:49:56 -0700 Subject: [PATCH] typo: upate->update (#3765) --- .../balancer/weightedtarget/weightedaggregator/aggregator.go | 2 +- xds/internal/balancer/xdsrouting/balancerstateaggregator.go | 2 +- xds/internal/client/client_watchers_cluster_test.go | 2 +- xds/internal/client/client_watchers_endpoints_test.go | 2 +- xds/internal/client/client_watchers_lds_test.go | 2 +- xds/internal/client/client_watchers_rds_test.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xds/internal/balancer/weightedtarget/weightedaggregator/aggregator.go b/xds/internal/balancer/weightedtarget/weightedaggregator/aggregator.go index 6f2de711..a77a7c3f 100644 --- a/xds/internal/balancer/weightedtarget/weightedaggregator/aggregator.go +++ b/xds/internal/balancer/weightedtarget/weightedaggregator/aggregator.go @@ -90,7 +90,7 @@ func (wbsa *Aggregator) Start() { } // Stop stops the aggregator. When the aggregator is closed, it won't call -// parent ClientConn to upate balancer state. +// parent ClientConn to update balancer state. func (wbsa *Aggregator) Stop() { wbsa.mu.Lock() defer wbsa.mu.Unlock() diff --git a/xds/internal/balancer/xdsrouting/balancerstateaggregator.go b/xds/internal/balancer/xdsrouting/balancerstateaggregator.go index 83dbb791..9f6250e5 100644 --- a/xds/internal/balancer/xdsrouting/balancerstateaggregator.go +++ b/xds/internal/balancer/xdsrouting/balancerstateaggregator.go @@ -79,7 +79,7 @@ func (rbsa *balancerStateAggregator) start() { } // Close closes the aggregator. When the aggregator is closed, it won't call -// parent ClientConn to upate balancer state. +// parent ClientConn to update balancer state. func (rbsa *balancerStateAggregator) close() { rbsa.mu.Lock() defer rbsa.mu.Unlock() diff --git a/xds/internal/client/client_watchers_cluster_test.go b/xds/internal/client/client_watchers_cluster_test.go index c14ea18e..6d30f7dd 100644 --- a/xds/internal/client/client_watchers_cluster_test.go +++ b/xds/internal/client/client_watchers_cluster_test.go @@ -33,7 +33,7 @@ type clusterUpdateErr struct { // TestClusterWatch covers the cases: // - an update is received after a watch() // - an update for another resource name -// - an upate is received after cancel() +// - an update is received after cancel() func (s) TestClusterWatch(t *testing.T) { v2ClientCh, cleanup := overrideNewXDSV2Client() defer cleanup() diff --git a/xds/internal/client/client_watchers_endpoints_test.go b/xds/internal/client/client_watchers_endpoints_test.go index e61bb710..7ac8d3e6 100644 --- a/xds/internal/client/client_watchers_endpoints_test.go +++ b/xds/internal/client/client_watchers_endpoints_test.go @@ -55,7 +55,7 @@ type endpointsUpdateErr struct { // TestEndpointsWatch covers the cases: // - an update is received after a watch() // - an update for another resource name (which doesn't trigger callback) -// - an upate is received after cancel() +// - an update is received after cancel() func (s) TestEndpointsWatch(t *testing.T) { v2ClientCh, cleanup := overrideNewXDSV2Client() defer cleanup() diff --git a/xds/internal/client/client_watchers_lds_test.go b/xds/internal/client/client_watchers_lds_test.go index 5db842d2..fa8bfdb6 100644 --- a/xds/internal/client/client_watchers_lds_test.go +++ b/xds/internal/client/client_watchers_lds_test.go @@ -32,7 +32,7 @@ type ldsUpdateErr struct { // TestLDSWatch covers the cases: // - an update is received after a watch() // - an update for another resource name -// - an upate is received after cancel() +// - an update is received after cancel() func (s) TestLDSWatch(t *testing.T) { v2ClientCh, cleanup := overrideNewXDSV2Client() defer cleanup() diff --git a/xds/internal/client/client_watchers_rds_test.go b/xds/internal/client/client_watchers_rds_test.go index 16e042ec..8476b275 100644 --- a/xds/internal/client/client_watchers_rds_test.go +++ b/xds/internal/client/client_watchers_rds_test.go @@ -33,7 +33,7 @@ type rdsUpdateErr struct { // TestRDSWatch covers the cases: // - an update is received after a watch() // - an update for another resource name (which doesn't trigger callback) -// - an upate is received after cancel() +// - an update is received after cancel() func (s) TestRDSWatch(t *testing.T) { v2ClientCh, cleanup := overrideNewXDSV2Client() defer cleanup()