Get rid of ServiceSpec.ProxyPort

As far as I know, nobody uses it.  It was replaced by PublicIPs.  If I were
being very polite I would leave it in internal, but since I am 99.99% sure
nobody uses it, I am cutting it.  Let's argue about it.
This commit is contained in:
Tim Hockin
2015-02-03 22:45:00 -08:00
parent 9384f01d56
commit 411666decb
11 changed files with 28 additions and 80 deletions

View File

@@ -98,8 +98,6 @@ func (svcStrategy) NamespaceScoped() bool {
// ResetBeforeCreate clears fields that are not allowed to be set by end users on creation.
func (svcStrategy) ResetBeforeCreate(obj runtime.Object) {
service := obj.(*api.Service)
// TODO: Get rid of ProxyPort.
service.Spec.ProxyPort = 0
service.Status = api.ServiceStatus{}
}