mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-16 16:00:30 +00:00
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 ```