From 2e8b7f97978fd03a90045dd8cbf740e7e95eb155 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Mon, 18 May 2015 22:56:12 -0400 Subject: [PATCH] Serialization of 'IP' should be 'ip' CamelCase rules are "initialsUpperCase" --- pkg/api/v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index c4c38652f45..e90ca9b94c9 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -1098,7 +1098,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"`