Commit 8fe7a2de authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #40342 from louyihua/remove_warning

Automatic merge from submit-queue (batch tested with PRs 40111, 40368, 40342, 40274, 39443) Eliminate "Unknown service type: ExternalName" When creating an ExternalName service, rest.go still generate the warning message "Unknown service type: ExternalName". This should be eliminated as this type of service is supported now.
parents fd13413b 352d64ab
......@@ -557,6 +557,8 @@ func shouldAssignNodePorts(service *api.Service) bool {
return true
case api.ServiceTypeClusterIP:
return false
case api.ServiceTypeExternalName:
return false
default:
glog.Errorf("Unknown service type: %v", service.Spec.Type)
return false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment