mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #8482 from smarterclayton/serialization_wrong
Serialization of 'IP' in endpoints should be 'ip'
This commit is contained in:
commit
8f62dd2451
@ -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"`
|
||||||
|
Loading…
Reference in New Issue
Block a user