未验证 提交 17727188 编写于 作者: Z zryfish 提交者: GitHub

Merge pull request #232 from zryfish/fix_service_type_bug

fix service type
......@@ -96,7 +96,7 @@ func generateSvcObject(item v1.Service) *Service {
}
if len(item.Spec.ClusterIP) == 0 || item.Spec.ClusterIP == "None" {
if len(item.Spec.Selector) == 0 {
if len(item.Spec.Selector) != 0 {
serviceType = "Headless(Selector)"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册