From 38d21262b9cb717021269fde02010cce639f0ddd Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Wed, 14 Feb 2018 20:39:14 -0700 Subject: [PATCH] marshal nodename --- apis/management.cattle.io/v3/rke_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index 4b15ceeb..376c4937 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -85,7 +85,7 @@ type RKESystemImages struct { type RKEConfigNode struct { // Name of the host provisioned via docker machine - NodeName string `yaml:"-" json:"-" norman:"type=reference[node]"` + NodeName string `yaml:"-" json:"nodeName,omitempty" norman:"type=reference[node]"` // IP or FQDN that is fully resolvable and used for SSH communication Address string `yaml:"address" json:"address,omitempty"` // Optional - Internal address that will be used for components communication