fix typo in comments (#1840)

* remove global error tracking

* rpc_server: fix invalid register err

* fix typo

Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
Di Wu
2020-07-16 23:33:11 +08:00
committed by GitHub
parent dfa50a888d
commit f9bf562393
20 changed files with 30 additions and 30 deletions

View File

@@ -380,7 +380,7 @@ func TestCacheWrapper(t *testing.T) {
return nil
}, cli)
// perfroming two requests should increment the call count by two indicating the cache wasn't
// performing two requests should increment the call count by two indicating the cache wasn't
// used even though the WithCache option was passed.
w.Call(context.TODO(), req, nil, client.WithCache(time.Minute))
w.Call(context.TODO(), req, nil, client.WithCache(time.Minute))
@@ -398,7 +398,7 @@ func TestCacheWrapper(t *testing.T) {
return cache
}, cli)
// perfroming two requests should increment the call count by two since we didn't pass the WithCache
// performing two requests should increment the call count by two since we didn't pass the WithCache
// option to Call.
w.Call(context.TODO(), req, nil)
w.Call(context.TODO(), req, nil)
@@ -417,7 +417,7 @@ func TestCacheWrapper(t *testing.T) {
return cache
}, cli)
// perfroming two requests should increment the call count by once since the second request should
// performing two requests should increment the call count by once since the second request should
// have used the cache. The correct value should be set on both responses and no errors should
// be returned.
rsp1 := &testRsp{}