Commit 8f62dd24 authored by Yu-Ju Hong's avatar Yu-Ju Hong

Merge pull request #8482 from smarterclayton/serialization_wrong

Serialization of 'IP' in endpoints should be 'ip'
parents 97abc198 2e8b7f97
...@@ -1102,7 +1102,7 @@ type EndpointSubset struct { ...@@ -1102,7 +1102,7 @@ type EndpointSubset struct {
type EndpointAddress struct { type EndpointAddress struct {
// The IP of this endpoint. // The IP of this endpoint.
// TODO: This should allow hostname or IP, see #4447. // 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. // Optional: The kubernetes object related to the entry point.
TargetRef *ObjectReference `json:"targetRef,omitempty" description:"reference to object providing the endpoint"` TargetRef *ObjectReference `json:"targetRef,omitempty" description:"reference to object providing the endpoint"`
......
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