This commit is contained in:
Aleksandr Razumov 2019-08-18 23:59:04 +03:00
parent 117e83157b
commit 2390e242b4
No known key found for this signature in database
GPG Key ID: 75FC1C009FB4A741

View File

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