typo: upate->update (#3765)
This commit is contained in:
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user