Merge pull request #81572 from ernado/kube-proxy-fix-typo

fix typo
This commit is contained in:
Kubernetes Prow Robot 2019-08-18 17:12:03 -07:00 committed by GitHub
commit ff22d824a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,12 +164,12 @@ func tryWinKernelSpaceProxy(kcompat winkernel.KernelCompatTester) string {
// Check for Windows Version // Check for Windows Version
// guaranteed false on error, error only necessary for debugging // guaranteed false on error, error only necessary for debugging
useWinKerelProxy, err := winkernel.CanUseWinKernelProxier(kcompat) useWinKernelProxy, err := winkernel.CanUseWinKernelProxier(kcompat)
if err != nil { if err != nil {
klog.Errorf("Can't determine whether to use windows kernel proxy, using userspace proxier: %v", err) klog.Errorf("Can't determine whether to use windows kernel proxy, using userspace proxier: %v", err)
return proxyModeUserspace return proxyModeUserspace
} }
if useWinKerelProxy { if useWinKernelProxy {
return proxyModeKernelspace return proxyModeKernelspace
} }
// Fallback. // Fallback.