typo: upate->update (#3765)

This commit is contained in:
Doug Fawley
2020-07-28 12:49:56 -07:00
committed by GitHub
parent 0e6096e9a1
commit 1c32b02682
6 changed files with 6 additions and 6 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()