Merge pull request #8482 from smarterclayton/serialization_wrong

Serialization of 'IP' in endpoints should be 'ip'
This commit is contained in:
Yu-Ju Hong 2015-05-19 12:02:19 -07:00
commit 8f62dd2451

View File

@ -1102,7 +1102,7 @@ type EndpointSubset struct {
type EndpointAddress struct {
// The IP of this endpoint.
// TODO: This should allow hostname or IP, see #4447.
IP string `json:"IP" description:"IP address of the endpoint"`
IP string `json:"ip" description:"IP address of the endpoint"`
// Optional: The kubernetes object related to the entry point.
TargetRef *ObjectReference `json:"targetRef,omitempty" description:"reference to object providing the endpoint"`