mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Eliminate "Unknown service type: ExternalName"
As the ExternalName service is supported, the warning message: "Unknown service type: ExternalName" should be eliminated from rest.go.
This commit is contained in:
parent
61b7b3fb66
commit
352d64ab0d
@ -556,6 +556,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
|
||||
|
Loading…
Reference in New Issue
Block a user