未验证 提交 626c30b9 编写于 作者: K KubeSphere CI Bot 提交者: GitHub

Merge pull request #3296 from SxunS/bugfix/ipv4

When the ip4 addres is nil, it should try the next.
......@@ -114,6 +114,9 @@ func IPv4() (net.IP, error) {
}
ip := ipnet.IP.To4()
if ip == nil {
continue
}
return ip, nil
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册