mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-15 06:39:00 +00:00
1. Fix lint errors for the whole directory staging/src/k8s.io/client-go/tools/cache;
2. Remove staging/src/k8s.io/client-go/tools/cache from .golint_failures; 3. Fix some typo from comments. Kubernetes-commit: 0e0e1f7daba0a6ae6dd59df0a1bb643c323ad8cb
This commit is contained in:
committed by
Kubernetes Publisher
parent
579ad46bdc
commit
2b8d87c082
6
tools/cache/undelta_store_test.go
vendored
6
tools/cache/undelta_store_test.go
vendored
@@ -47,7 +47,7 @@ func TestUpdateCallsPush(t *testing.T) {
|
||||
}
|
||||
|
||||
var got []interface{}
|
||||
var callcount int = 0
|
||||
var callcount = 0
|
||||
push := func(m []interface{}) {
|
||||
callcount++
|
||||
got = m
|
||||
@@ -73,7 +73,7 @@ func TestDeleteCallsPush(t *testing.T) {
|
||||
}
|
||||
|
||||
var got []interface{}
|
||||
var callcount int = 0
|
||||
var callcount = 0
|
||||
push := func(m []interface{}) {
|
||||
callcount++
|
||||
got = m
|
||||
@@ -110,7 +110,7 @@ func TestReplaceCallsPush(t *testing.T) {
|
||||
}
|
||||
|
||||
var got []interface{}
|
||||
var callcount int = 0
|
||||
var callcount = 0
|
||||
push := func(m []interface{}) {
|
||||
callcount++
|
||||
got = m
|
||||
|
Reference in New Issue
Block a user