mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Added golint check for pkg/kubelet.
This commit is contained in:
@@ -954,7 +954,7 @@ func TestRegisterWithApiServer(t *testing.T) {
|
||||
|
||||
done := make(chan struct{})
|
||||
go func() {
|
||||
kubelet.registerWithApiServer()
|
||||
kubelet.registerWithAPIServer()
|
||||
done <- struct{}{}
|
||||
}()
|
||||
select {
|
||||
@@ -1113,7 +1113,7 @@ func TestTryRegisterWithApiServer(t *testing.T) {
|
||||
return notImplemented(action)
|
||||
})
|
||||
|
||||
result := kubelet.tryRegisterWithApiServer(tc.newNode)
|
||||
result := kubelet.tryRegisterWithAPIServer(tc.newNode)
|
||||
require.Equal(t, tc.expectedResult, result, "test [%s]", tc.name)
|
||||
|
||||
actions := kubeClient.Actions()
|
||||
|
||||
Reference in New Issue
Block a user