From 2db6170ba165ecd13a9696f7b72af41fef15f951 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Wed, 7 Feb 2018 10:16:54 -0800 Subject: [PATCH] PublicEndpoints: field name change --- apis/project.cattle.io/v3/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apis/project.cattle.io/v3/types.go b/apis/project.cattle.io/v3/types.go index bb0855f0..ac70b1a3 100644 --- a/apis/project.cattle.io/v3/types.go +++ b/apis/project.cattle.io/v3/types.go @@ -143,13 +143,13 @@ type SSHAuth struct { type NamespacedSSHAuth SSHAuth type PublicEndpoint struct { - Node string `json:"node,omitempty" norman:"type=reference[node],nocreate,noupdate"` + NodeName string `json:"node,omitempty" norman:"type=reference[node],nocreate,noupdate"` Address string `json:"address,omitempty" norman:"nocreate,noupdate"` Port int32 `json:"port,omitempty" norman:"nocreate,noupdate"` Protocol string `json:"protocol,omitempty" norman:"nocreate,noupdate"` // for node port service - Service string `json:"service,omitempty" norman:"type=reference[service],nocreate,noupdate"` + ServiceName string `json:"service,omitempty" norman:"type=reference[service],nocreate,noupdate"` // for host port - Pod string `json:"pod,omitempty" norman:"type=reference[pod],nocreate,noupdate"` + PodName string `json:"pod,omitempty" norman:"type=reference[pod],nocreate,noupdate"` //serviceName and podName are mutually exclusive }