k3s/pkg/util
Kubernetes Submit Queue b4b851cb0e
Merge pull request #52976 from sakeven/fix/netsh_checkIPExists
Automatic merge from submit-queue (batch tested with PRs 55114, 52976, 54871, 55122, 55140). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix netsh checkIPExists in Chinese

Signed-off-by: sakeven <jc5930@sina.cn>



**What this PR does / why we need it**:
On Windows in Chinese language, kube-proxy ip dump outputs like this:

```
接口 "vEthernet (KubeProxySwitch)" 的配置
    DHCP 已启用:                          否
    IP 地址:                           10.96.0.2
    子网前缀:                        10.0.0.0/8 (掩码 255.0.0.0)
    IP 地址:                           10.99.233.195
    子网前缀:                        10.0.0.0/8 (掩码 255.0.0.0)
    IP 地址:                           10.109.68.207
    子网前缀:                        10.0.0.0/8 (掩码 255.0.0.0)
    IP 地址:                           10.110.60.68
    子网前缀:                        10.0.0.0/8 (掩码 255.0.0.0)
    IP 地址:                           10.110.252.225
    子网前缀:                        10.0.0.0/8 (掩码 255.0.0.0)
    InterfaceMetric:                      15
```

And here we used ''IP Address:" in English to search IP, so it would never succeed even if ip address was right here. ''IP Address:" in Chinese is "IP 地址: "。

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```
NONE
```
2017-11-06 23:19:15 -08:00
..
async update BUILD files 2017-10-15 18:18:13 -07:00
bandwidth update BUILD files 2017-10-15 18:18:13 -07:00
config update BUILD files 2017-10-15 18:18:13 -07:00
configz update BUILD files 2017-10-15 18:18:13 -07:00
dbus Merge pull request #53731 from smarterclayton/dbus_races 2017-10-26 13:24:30 -07:00
ebtables update BUILD files 2017-10-15 18:18:13 -07:00
env update BUILD files 2017-10-15 18:18:13 -07:00
file Adding unit tests to methods of file's util 2017-10-24 08:26:58 +08:00
filesystem update BUILD files 2017-10-15 18:18:13 -07:00
flock update BUILD files 2017-10-15 18:18:13 -07:00
goroutinemap update BUILD files 2017-10-15 18:18:13 -07:00
hash update BUILD files 2017-10-15 18:18:13 -07:00
initsystem Kubeadm - Added initial support for Windows worker nodes to join cluster using kubeadm 2017-11-01 10:36:37 -04:00
interrupt update BUILD files 2017-10-15 18:18:13 -07:00
io update BUILD files 2017-10-15 18:18:13 -07:00
ipconfig update BUILD files 2017-10-15 18:18:13 -07:00
iptables make iptables wait flag generic; increase the max wait time from 2 seconds to 5 seconds 2017-10-30 14:22:25 -04:00
ipvs update BUILD files 2017-10-15 18:18:13 -07:00
keymutex update BUILD files 2017-10-15 18:18:13 -07:00
labels update BUILD files 2017-10-15 18:18:13 -07:00
limitwriter update BUILD files 2017-10-15 18:18:13 -07:00
maps update BUILD files 2017-10-15 18:18:13 -07:00
metrics update BUILD files 2017-10-15 18:18:13 -07:00
mount Merge pull request #53629 from andyzhangx/azurefile-improve 2017-11-01 04:38:12 -07:00
net update BUILD files 2017-10-15 18:18:13 -07:00
netsh fix netsh checkIPExists in Chinese 2017-10-27 16:55:11 +08:00
node use core client with explicit version globally 2017-10-27 15:48:32 +08:00
nsenter update BUILD files 2017-10-15 18:18:13 -07:00
oom update BUILD files 2017-10-15 18:18:13 -07:00
parsers update BUILD files 2017-10-15 18:18:13 -07:00
pointer update BUILD files 2017-10-15 18:18:13 -07:00
procfs update BUILD files 2017-10-15 18:18:13 -07:00
reflector/prometheus rename metric reflector_xx_last_resource_version to reflector_last_resource_version{name="xx"} 2017-11-01 16:34:18 +08:00
removeall update BUILD files 2017-10-15 18:18:13 -07:00
resourcecontainer update BUILD files 2017-10-15 18:18:13 -07:00
rlimit update BUILD files 2017-10-15 18:18:13 -07:00
selinux update BUILD files 2017-10-15 18:18:13 -07:00
slice update BUILD files 2017-10-15 18:18:13 -07:00
strings update BUILD files 2017-10-15 18:18:13 -07:00
sysctl update BUILD files 2017-10-15 18:18:13 -07:00
system update BUILD files 2017-10-15 18:18:13 -07:00
tail update BUILD files 2017-10-15 18:18:13 -07:00
taints Added unit test cases for the public methods of pkg/util/taints.go 2017-10-25 13:51:14 +08:00
template update BUILD files 2017-10-15 18:18:13 -07:00
term update BUILD files 2017-10-15 18:18:13 -07:00
threading update BUILD files 2017-10-15 18:18:13 -07:00
tolerations update BUILD files 2017-10-15 18:18:13 -07:00
version update BUILD files 2017-10-15 18:18:13 -07:00
workqueue/prometheus update BUILD files 2017-10-15 18:18:13 -07:00
BUILD auto-gen 2017-09-26 09:57:13 +08:00
verify-util-pkg.sh verify pkg/util contains no code 2017-08-17 15:28:27 +08:00