remove deprecated NodeLegacyHostIP

Kubernetes-commit: 7d00e5cfb66d4501879125f4d3c732f9bb726d0c
This commit is contained in:
NickrenREN 2017-04-24 10:21:29 +08:00 committed by Kubernetes Publisher
parent ca719949f1
commit dad27d745a
2 changed files with 10 additions and 16 deletions

View File

@ -2918,11 +2918,7 @@ type NodeCondition struct {
type NodeAddressType string type NodeAddressType string
// These are valid address types of node. NodeLegacyHostIP is used to transit
// from out-dated HostIP field to NodeAddress.
const ( const (
// Deprecated: NodeLegacyHostIP will be removed in 1.7.
NodeLegacyHostIP NodeAddressType = "LegacyHostIP"
NodeHostName NodeAddressType = "Hostname" NodeHostName NodeAddressType = "Hostname"
NodeExternalIP NodeAddressType = "ExternalIP" NodeExternalIP NodeAddressType = "ExternalIP"
NodeInternalIP NodeAddressType = "InternalIP" NodeInternalIP NodeAddressType = "InternalIP"

View File

@ -3363,8 +3363,6 @@ type NodeAddressType string
// These are valid address type of node. // These are valid address type of node.
const ( const (
// Deprecated: NodeLegacyHostIP will be removed in 1.7.
NodeLegacyHostIP NodeAddressType = "LegacyHostIP"
NodeHostName NodeAddressType = "Hostname" NodeHostName NodeAddressType = "Hostname"
NodeExternalIP NodeAddressType = "ExternalIP" NodeExternalIP NodeAddressType = "ExternalIP"
NodeInternalIP NodeAddressType = "InternalIP" NodeInternalIP NodeAddressType = "InternalIP"