mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
Serialization of 'IP' should be 'ip'
CamelCase rules are "initialsUpperCase"
This commit is contained in:
parent
964ac90aba
commit
2e8b7f9797
@ -1098,7 +1098,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